Skip to content
Create a gist now

Instantly share code, notes, and snippets.

@ahmdrefat /index.rb secret
Created Nov 12, 2012

def index
unless TwitterOauthSetting.find_by_user_id(current_user.id).nil?
redirect_to "/twitter_profile"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.