upgrade to rails3, but grip is broken
This commit is contained in:
1 parent
9f1de1b543
commit
29ee4585b2
53 files changed
+485
-1133
No files matched your search
@@ -1,8 +1,8 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
|
||||
helper :all
|
||||
protect_from_forgery
|
||||
|
||||
|
||||
helper :all
|
||||
|
||||
before_filter :set_locale
|
||||
|
||||
filter_parameter_logging :password
|
||||
@@ -42,5 +42,5 @@ class ApplicationController < ActionController::Base
|
||||
render :text => 'missing entry_name' if params[:entry_name].blank?
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
@@ -10,7 +10,7 @@ class PagesController < ApplicationController
|
||||
end
|
||||
|
||||
def show
|
||||
@page = Page.find_by_full_name(params[:page_name].join("/"))
|
||||
@page = Page.find_by_full_name(params[:page_name])
|
||||
render_liquid_page
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user