MJMJMJ
1
Hi,
I just moved my existing Rails app from /oldblog to /newblog.
It works great only the css links and the controller links still
get written as:
http://mydomain.com/oldblog/stylesheets/main.css instead of
http://mydomain.com/newblog/stylesheets/main.css.
How can I change this?
Thanks,
MJ
MJMJMJ
2
css files’ path are defined in the view files, normally inside layout
files.
app\view\layouts\xxxx.rhmtl
That’s right, but there is simply says <% stylesheet_link_tag “main” %>
MJMJMJ
3
MJ wrote:
Hi,
I just moved my existing Rails app from /oldblog to /newblog.
It works great only the css links and the controller links still
get written as:
http://mydomain.com/oldblog/stylesheets/main.css instead of
http://mydomain.com/newblog/stylesheets/main.css.
How can I change this?
Thanks,
MJ
css files’ path are defined in the view files, normally inside layout
files.
app\view\layouts\xxxx.rhmtl