lib/active_admin/page_dsl.rb in activeadmin-1.4.3 vs lib/active_admin/page_dsl.rb in activeadmin-2.0.0.rc1
- old
+ new
@@ -19,10 +19,10 @@
end
def page_action(name, options = {}, &block)
config.page_actions << ControllerAction.new(name, options)
controller do
- define_method(name, &block || Proc.new{})
+ define_method(name, &block || Proc.new {})
end
end
def belongs_to(target, options = {})
config.belongs_to(target, options)