I might fix that myself. Seems like it would be easy enough. I found a similar annoyance today too. (I'll post that in a moment.)
On Mar 26, 3:36 pm, Lasse Bunk <[email protected]> wrote: > It's hardcoded as you say. Being able to configure these paths would really > be a good addition to the core if you were to write this as a new feature. > > /Lasse > > 2010/3/26 cult hero <[email protected]> > > > > > Is there some way to override the paths for images, stylesheets and > > javascripts without monkey patching? (Rails 3 Beta) > > > I just looked at asset_tag_helper.rb and I see this: > > > def stylesheet_path(source) > > compute_public_path(source, 'stylesheets', 'css') > > end > > > Unless I'm missing something in the way the code works, that seems > > hard coded to me. Am I stuck using the directories /images, / > > stylesheets and /javascripts instead of something more concise like / > > img, /css and /js if I opt to use the helpers? > > > -- > > 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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<rubyonrails-talk%2Bunsubscrib > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

