Sha256: aebe349c784acf5477500828fdb785d2b486548500f35cf58bb13065a4898fe8

Contents?: true

Size: 231 Bytes

Versions: 12

Compression:

Stored size: 231 Bytes

Contents

class MenuItemsController < InheritedResources::Base
  has_widgets do |root|
    root << widget(:menu_editor)
  end

  def update
    update! do |success, failure|
      success.html {redirect_to menu_items_path}
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
navi-0.1.4 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.1.3 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.17 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.16 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.15 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.14 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.13 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.12 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.11 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.10 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.9 spec/dummy/app/controllers/menu_items_controller.rb
navi-0.0.6 spec/dummy/app/controllers/menu_items_controller.rb