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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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, > MJcss files'' path are defined in the view files, normally inside layout files. app\view\layouts\xxxx.rhmtl -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> > css files'' path are defined in the view files, normally inside layout > files. > app\view\layouts\xxxx.rhmtlThat''s right, but there is simply says <% stylesheet_link_tag "main" %> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---