render show doesn't look in app/admin/[resource] #54

chollier opened this Issue May 18, 2011 · 1 comment


None yet
2 participants

the documentation tells :

 ActiveAdmin.register Post do
    show do 
      # renders app/admin/posts/_some_partial.html.erb
      render "some_partial"

But when i added a _notation.html.erb in app/admin/sessions/ i had an error :

Missing partial admin/sessions/notation with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :arb, :haml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/Users/loic/Documents/pro/projetB3/app/views", "/Users/loic/.rvm/gems/ruby-1.9.2-p136/gems/devise-1.3.4/app/views", "/Users/loic/.rvm/gems/ruby-1.9.2-p136/gems/activeadmin-0.2.1/lib/active_admin/views/templates", "/Users/loic/.rvm/gems/ruby-1.9.2-p136/gems/inherited_views-0.0.2/lib/inherited_views/default_views"

well by moving my sessions folder to app/views/admin/ it worked


This comment has been minimized.

Show comment Hide comment

gregbell May 18, 2011


Hey thanks for that. Its actually a typo in the docs. Oops.


gregbell commented May 18, 2011

Hey thanks for that. Its actually a typo in the docs. Oops.

@gregbell gregbell closed this in bc4e659 May 18, 2011

webmat added a commit to webmat/active_admin that referenced this issue May 25, 2011

Merge branch 'wantful/master' into heroku-workaround
* wantful/master:
  use admin_notes toggle in configuration (no comments option)
  Rails 3.1 compatibility (dispatcher)
  Fixed documentation error for rendering views. Fixes #54
  Added configurable global navigation naming. Closes #48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment