Permalink
Browse files

Make facepalm methods private

  • Loading branch information...
1 parent 4d9bee2 commit 5c726d8c69ae87a5dc6d9ef32b47da6af4c28db4 @dekart committed Jan 4, 2012
@@ -22,6 +22,8 @@ def self.included(base)
end
end
+ protected
+
# Accessor to current application config. Override it in your controller
# if you need multi-application support or per-request configuration selection.
def facepalm
@@ -43,6 +43,8 @@ def facepalm_authentication(*permissions)
end
end
+ protected
+
# Requires a given set of permissions in context of the current action.
# Use it to require permissions in a single action or custom filter.
#
@@ -8,6 +8,8 @@ def self.included(base)
end
end
+ protected
+
# Overrides ActionController::Base#redirect_to to pass signed_request in flash[]
def redirect_to_with_signed_request(*args)
flash[:signed_request] = fb_signed_request
@@ -10,6 +10,8 @@ def self.included(base)
end
end
+ protected
+
# A helper to generate an URL of the application canvas page URL
#
# @param protocol A request protocol, should be either 'http://' or 'https://'.

0 comments on commit 5c726d8

Please sign in to comment.