Browse files

Add refinery helper method to fix error

As per https://github.com/resolve/refinerycms/issues/1804

Was getting error "undefined method `refinery_user?'" on all refinery pages, fixed by including this line.
  • Loading branch information...
1 parent 62c2ed2 commit 7e7be1b5596e6836b6949b6e91daf41a946f006f @amacneil committed Aug 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/controllers/application_controller.rb
View
1 app/controllers/application_controller.rb
@@ -1,3 +1,4 @@
class ApplicationController < ActionController::Base
protect_from_forgery
+ helper_method :refinery_user?
end

0 comments on commit 7e7be1b

Please sign in to comment.