aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-07 18:22:05 +0900
committerRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-08 19:44:34 +0900
commitc7f6081d75f6c778b9cc6a989a52ec667811ed36 (patch)
treea68b89645a907d33edc2808ac02bdc6307b397e1 /railties/lib
parent3e71f5759aace5aae16e2ad12108cdabc41944c4 (diff)
downloadrails-c7f6081d75f6c778b9cc6a989a52ec667811ed36.tar.gz
rails-c7f6081d75f6c778b9cc6a989a52ec667811ed36.tar.bz2
rails-c7f6081d75f6c778b9cc6a989a52ec667811ed36.zip
Use absolute path
It is semantically correct than relative path.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/templates/rails/welcome/index.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb
index abe705618a..e239e1695e 100644
--- a/railties/lib/rails/templates/rails/welcome/index.html.erb
+++ b/railties/lib/rails/templates/rails/welcome/index.html.erb
@@ -59,7 +59,7 @@
#header {
- background-image: url("assets/rails.png");
+ background-image: url("/assets/rails.png");
background-repeat: no-repeat;
background-position: top left;
height: 64px;
@@ -178,7 +178,7 @@
if (info.innerHTML === '') {
xhr = new XMLHttpRequest();
- xhr.open("GET", "rails/info/properties", false);
+ xhr.open("GET", "/rails/info/properties", false);
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.send("");
info.innerHTML = xhr.responseText;
@@ -211,7 +211,7 @@
</div>
<div id="about">
- <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
+ <h3><a href="/rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
<div id="about-content" style="display: none"></div>
</div>