5 lines
132 B
Ruby
5 lines
132 B
Ruby
class Api::ApiController < ApplicationController
|
|
before_action :authenticate_user!
|
|
protect_from_forgery with: :null_session
|
|
end
|