acesuares / inline_forms

Inline Forms
MIT License
24 stars 15 forks source link

Added CancanConcern in order to encapsulate cancan InlineFormsController methods #25

Closed ortegacmanuel closed 6 years ago

ortegacmanuel commented 6 years ago

This way the functionalities added by inline_forms are mor flexible and easy to integrate into main app controllers. For example, this way InlineFormsController functionality can added to others main app Controllers - extending from InlineFormsController - as a whole but also just a part of the functionality by including the concern.

This was implemented as a need for Papiamentu app. In the Papiamentu app the FrontendController needs just some functionality - the cancan one - from InlineFormsController but not all the funcionality.