Matt, I believe in your controller you want to use:
:redirect_to => 'root_path' On Dec 5, 3:51 pm, Matt Harrison <[email protected]> wrote: > My apologies Rick, I didnt intent to send my reply only to you. Here is a > copy for the list to peruse, including some extra information. > > Since my last mail I also tried some of the other named routes I have > defined, and all of them come up undefined as well. There is obviously > something strange going on, and I'm not sure if it's me. > > On Wed, Dec 02, 2009 at 05:41:15AM -0800, Rick wrote: > > Can you post the error message and any info that appears in the log? > > Ok here we go: > > Error message and backtrace from the logs can be found > here:http://pastie.org/729055 > > <pages_controller.rb> > 1 class PagesController < ApplicationController > 2 verify :method => :post, :only => [ > 3 :update, :create, :destroy, :revert > 4 ], :redirect_to => root_path > 5 > 6 def show > ....... > </pages_controller.rb> > > The routes.rb has been pastie'd in a previous post, but I will repeat the > link here for reference (http://pastie.org/723159). > > You can also see the result of "rake routes" herehttp://pastie.org/729464. > > Please let me know if there is anything else I can provide. > > Many thanks > > Matt -- 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.

