Skip to content

Commit

Permalink
Remove tab problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mmangino committed Jul 22, 2008
1 parent 1cfc02d commit 6b00928
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/facebooker/rails/controller.rb
Expand Up @@ -175,14 +175,6 @@ def has_extended_permission?(perm)
params["fb_sig_ext_perms"] and params["fb_sig_ext_perms"].include?(perm)
end

def disallow_viewing_in_tab
request_is_facebook_tab? && disallowed_tab_action
end

def disallowed_tab_action
redirect_to :controller=>request.request_uri,:canvas=>true
end

def ensure_authenticated_to_facebook
set_facebook_session || create_new_facebook_session_and_redirect!
end
Expand Down

0 comments on commit 6b00928

Please sign in to comment.