[Rails ] inheritance template w namespace

I have been using template inheritance wo any problem

I have defined an :admins namespace ( used w Devise
authentication) , so I have controllers defined in admins

/admins
/sessions_controller
/plans_controller
/categories_controller

In my ‘administration’ layout I am using a partial
#side
= render “side”

I can define this partial in :
views/application
views/admins/plans
views/admins/categories

I wonder if I can have a partial at the namespace level ? I can
defined it in a shared folder
views/application
views/admins/shared
views/admins/plans
views/admins/categories
… but the I’ll have to write = render “admins/shared/side” in the
layout , and views/admins/plans will not inheritate

feedback welcome

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs