http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1141-allow-per-request-controller_path

Pasted from the ticket summary:

Don't let the description fool you -- it's a trivial, two-line patch.

This is about how ActionController::Base#controller_path is used.

>From the commit summary:

The instance method calls the class method by default. With this change,
controllers can override the instance method to set a dynamic
controller_path for a given request.

Rationale:

It is possible to override the whole view_path (with prepend_view_path and
append_view_path) for all requests, or for an individual request. It seems
that the controller_path is a smaller change. In fact, I believe that any
argument against doing this would apply even moreso to modifying the
view_path.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to