Use features in custom controllers - D4uS1/ez-on-rails GitHub Wiki
Use features in custom controllers
If you use any generator of ez-on-rails, the controllers inherit from the ez-on-rails controllers out of the box. But if you implement your own custom controllers but also want to use features like e.g. the permission system, you just need to inherit from EzOnRails::ApplicatioController.
class SomeController < EzOnRails::ApplicationController
...
end
The EzOnRails::ApplicationController inherits from your base applications ApplicationController. Hence you can use the features of your base application, too.