from my view
workshop/app/views/administration/dashboards/show.html.haml
I render the partial
= render :partial => "administration/dasboards/activity_list"
but I am getting a missing template :
Missing partial administration/dasboards/activity_list with {:locale=>[:fr], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :haml]}. Searched in:
* "/Users/yves/github/local/workshop/app/views"
however I have in my structure
views
dashboards
_activity_list.html.haml
I tried to render another view from another controller and it works ..
what could be wrong ? ( in dev environment… )
You have a typo error, you are writing
dasboards instead ofdashboards`, also your structure should be:and if the partial is in the same folder then your could simply do
= render 'activity_list'