Because this situation is automatic, i don't know it needs to change the controller book to which the anther controller or action. So, i can't bundle it into route in that file, in other words, the controller or action name will be stored to database.
On Sep 9, 12:45 am, Colin Law <clan...@googlemail.com> wrote: > On 9 September 2011 08:29, coolesting <coolest...@gmail.com> 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.