Hi there,
i have a rails application which use the active_rbac engine for user
and access control.
How can I use the original login, etc. forms which were provided with
the engine as partials in my application? I’ve tried all of the below
mentioned approaches and it seems so that I cannot reach the templates
provided under the [RAILS_HOME]/vendor/plugins/active_rbac/app/views
directory.
render :partial “active_rbac/login”
render :template “active_rbac/login”
So my question is: to be true to the DRY principle, how can i reuse
these templates in my layouts?
Thanks,
András
Hi there,
i have a rails application which use the active_rbac engine for user
and access control.
How can I use the original login, etc. forms which were provided with
the engine as partials in my application? I’ve tried all of the below
mentioned approaches and it seems so that I cannot reach the templates
provided under the [RAILS_HOME]/vendor/plugins/active_rbac/app/views
directory.
render :partial “active_rbac/login”
render :template “active_rbac/login”
So my question is: to be true to the DRY principle, how can i reuse
these templates in my layouts?
Thanks,
András
András Tarsoly
[email protected]