Skip to content

Instantly share code, notes, and snippets.

@MaryKuz
Created March 28, 2019 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaryKuz/e310016704a0f1339e615102eafa3338 to your computer and use it in GitHub Desktop.
Save MaryKuz/e310016704a0f1339e615102eafa3338 to your computer and use it in GitHub Desktop.
Add authorization to SessionsController
class Api::SessionsController < ApplicationController
skip_before_action :authenticate, only: [:create]
....
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment