docs/8-custom-actions.md in activeadmin-0.6.0 vs docs/8-custom-actions.md in activeadmin-0.6.1

- old
+ new

@@ -54,11 +54,11 @@ your action will use the :get verb. ## Rendering in Custom Actions Custom controller actions support rendering within the standard Active Admin -layout. +layout. ActiveAdmin.register Post do # /admin/posts/:id/comments member_action :comments do @@ -79,13 +79,13 @@ column :author column :body do |comment| simple_format comment.body end end - + ### Custom Action Items -To include your own action items (like the New, Edit and Delete buttons), add an +To include your own action items (like the New, Edit and Delete buttons), add an `action_item` block. For example, to add a "View on site" button to view a blog post: action_item :only => :show do link_to('View on site', post_path(post)) if post.published?