Created
August 21, 2009 18:44
Revisions
-
kris revised this gist
Aug 21, 2009 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,5 +4,5 @@ def page_not_found activate_authlogic @possible = Title.find_tagged_with(request.request_uri.split('/'), :on => :tags, :limit => 5) render :template => "shared/page_not_found", :status => :not_found end -
kris created this gist
Aug 21, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ rescue_from ActionController::RoutingError, :with => :page_not_found private def page_not_found activate_authlogic @possible = Title.find_tagged_with(request.request_uri.split('/'), :on => :tags, :limit => 5) render :template => "shared/page_not_found", :layout => "application", :status => :not_found end