docs/6-show-pages.md in activeadmin-1.0.0.pre1 vs docs/6-show-pages.md in activeadmin-1.0.0.pre2
- old
+ new
@@ -19,10 +19,10 @@
```ruby
ActiveAdmin.register Post do
show do
# renders app/views/admin/posts/_some_partial.html.erb
- render 'some_partial'
+ render 'some_partial', { post: post }
end
end
```
If you'd like to keep the default AA look, you can use `attributes_table`: