lib/typus/controller/headless.rb in typus-3.1.0.rc4 vs lib/typus/controller/headless.rb in typus-3.1.0.rc5

- old
+ new

@@ -7,10 +7,10 @@ base.before_filter :set_resources_action_for_headless, :only => [:new, :create, :edit, :show] base.layout :set_headless_layout end def set_resources_action_for_headless_on_index - add_resources_action("Add new", {:action => "new"}, {}) + add_resources_action("Add New", {:action => "new"}, {}) end private :set_resources_action_for_headless_on_index def set_resources_action_for_headless add_resources_action("Back to list", {:action => 'index', :id => nil}, {})