diff options
author | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-07 18:22:05 +0900 |
---|---|---|
committer | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-08 19:44:34 +0900 |
commit | c7f6081d75f6c778b9cc6a989a52ec667811ed36 (patch) | |
tree | a68b89645a907d33edc2808ac02bdc6307b397e1 /railties/lib | |
parent | 3e71f5759aace5aae16e2ad12108cdabc41944c4 (diff) | |
download | rails-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.erb | 6 |
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’s environment</a></h3> + <h3><a href="/rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3> <div id="about-content" style="display: none"></div> </div> |