Create a gist now

Instantly share code, notes, and snippets.

def index
unless LinkedinOauthSetting.find_by_user_id(current_user.id).nil?
redirect_to "/linkedin_profile"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment