You can do it with config.assets.prefix = "/something" -- Guillermo Iguaran Sent with Sparrow (http://www.sparrowmailapp.com)
On Sunday, June 19, 2011 at 2:45 PM, Joel Moss wrote: > Seems that introducing a way to rename the asset pipeline route would be a > needed option, that would fix issues such as this. > > -- > Joel Moss > > Develop with Style at http://DevelopWithStyle.com > Really useful software project management: http://Codaset.com > =================================== > Call me +44 7791 503309 > http://twitter.com/joelmoss > AIM: joelkmoss > MSIM: [email protected] (mailto:[email protected]) > Skype: joelmoss.info (http://joelmoss.info) > > > On Sunday, 19 June 2011 at 19:29, Ken Collins wrote: > > > > > Without looking deeply into this, I would assume that this is related to > > the asset pipeline and sprockets using that route. I'm not sure if either > > disabling it in application.rb with "config.assets.enabled = false" and/or > > a warning is the proper solution, if any. > > > > - Ken > > > > On Jun 19, 2011, at 10:21 AM, Joel Clark wrote: > > > > > Here are the commands: > > > > > > > > > 407 rails new resource_test_2 > > > 408 cd resource_test_2/ > > > 409 rails g resource asset > > > 410 rake routes > > > > > > The output: > > > > > > imac:resource_test_2 joel$ rake routes > > > imac:resource_test_2 joel$ rails --version > > > Rails 3.1.0.rc4 > > > > > > > > > On 3.0.9 the resource routes come up, on 3.1.0.rc4 the routes do not. > > > If you use a name other than asset, rc4 brings up the routes. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Core" group. > > To post to this group, send email to [email protected] > > (mailto:[email protected]). > > To unsubscribe from this group, send email to > > [email protected] > > (mailto:[email protected]). > > For more options, visit this group at > > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
