Files
grecia/app/controllers/api/api_controller.rb
2015-08-08 14:33:44 +02:00

5 lines
132 B
Ruby

class Api::ApiController < ApplicationController
before_action :authenticate_user!
protect_from_forgery with: :null_session
end