On 9 September 2011 08:29, coolesting <[email protected]> wrote:
> Hi, guys.
>
> My problem is when i touch the route like '/book/ruby' that will loads the
> ApplicationController first,
> and then loads the action ruby of the controller book, the loading order as
> the following,
>
> # First loading
> class ApplicationController < ActionController::Base
>   protect_from_forgery
>   #
>   # Here, can i change the controller book and the action ruby for loading
> later ?

Why not just change the route to invoke the action that you want?

Colin

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

Reply via email to