README in easy_admin_ui-0.2.6 vs README in easy_admin_ui-0.2.7
- old
+ new
@@ -38,10 +38,14 @@
easy_admin :per_page => 50,
:order => 'created_at',
:page_title => 'Users',
:columns => ['Login', ['Email', 'my_nowrap_class'], 'Name', 'Created'],
:show_actions => true,
- :skip_new => true
+ :skip_new => true,
+ :include => '
+ after :create do
+ # Stuff you want to do after create.
+ end'
end
The model is infered by the make_resourceful plugin which is why we don't need
to specify it here. However, the object(s) returned will be named @item or
@items (for :index).