Files
old-holivud2/lib/knock_monkeypatch.rb

7 lines
201 B
Ruby
Raw Permalink Normal View History

2020-08-03 15:28:22 +02:00
module Knock
class AuthTokenController < ApplicationController
skip_before_action :authenticate
alias authenticate_with_token authenticate
before_action :authenticate_with_token
end
end