-
Notifications
You must be signed in to change notification settings - Fork 2
Extending the API
Stephen von Takach edited this page Dec 20, 2016
·
1 revision
As ACA Engine runs as a mounted application within a Rails application you are free to build your own APIs and models that can easily interact with the Engine data or the Engine application itself.
You can tie into the existing authentication in your controllers using before_action :doorkeeper_authorize!
However if you want to make use of some of the helpers for building filters, like before_action :check_admin, only: [:create, :update]
you can inherit your controllers from ::Orchestrator::Base