Forked from seabre/devise_login_rails_console.rb
Last active
August 29, 2015 14:14
-
-
Save karimmtarek/0af8dc3967cc3b5dbbb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ApplicationController.allow_forgery_protection = false | |
app.post('/whatever_my_user_model_is/sign_in', {"whatever_my_user_model_is"=>{"email"=>"users@email.com", "password"=>"users_password"}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment