Class: PgRest::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- PgRest::ApplicationController
show all
- Defined in:
- app/controllers/pg_rest/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#authenticate_request! ⇒ Object
9
10
11
|
# File 'app/controllers/pg_rest/application_controller.rb', line 9
def authenticate_request!
auth_token === PgRest.api_token && !PgRest.api_token.blank?
end
|