Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make facepalm methods private

  • Loading branch information...
commit 5c726d8c69ae87a5dc6d9ef32b47da6af4c28db4 1 parent 4d9bee2
@dekart authored
View
2  lib/facepalm/rails/controller.rb
@@ -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
View
2  lib/facepalm/rails/controller/oauth_access.rb
@@ -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.
#
View
2  lib/facepalm/rails/controller/redirects.rb
@@ -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
View
2  lib/facepalm/rails/controller/url_rewriting.rb
@@ -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.
Something went wrong with that request. Please try again.