Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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