On 15 May 2012, at 15:13, Rodrigo Rosenfeld Rosas wrote: > If we accepted "get '/test/index', format: :json, as: :test_index" to just > mean that, we'd only need "expire_action :test_index" which reads much better > and is less error prone. Also we shouldn't need any filters as the MIME could > be extracted from this kind of routing rule.
If I add the functionality that :format at the route level is copied to :constraints and :defaults automatically and fix issue #6304 then that should cover your suggestion - still not sure about caching headers though. > I'm really sorry if I'm bothering you with all those requests. This really > isn't my intention and I do value a lot all your feedback. No, this is the correct place to discuss these things rather than polluting the issues tracker. Andrew White -- 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.
