Sha256: b17be21d8dce50271aa4e221074b6d345571b6b1ff02b3bb8140e4159e312ec9

Contents?: true

Size: 333 Bytes

Versions: 13

Compression:

Stored size: 333 Bytes

Contents

Rails.application.routes.draw do 
	
  resources :menu_items, :only => :none do
    collection do
      get :autocomplete_menu_item_url
    end
  end

	resources :nested_trees, :only => [:create, :update, :destroy] do
		collection do
			put :update_tree
		end
	end

  lolita_for :menu_items
  lolita_for :menus, :visible => false
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lolita-menu-0.4.2 config/routes.rb
lolita-menu-0.4.1 config/routes.rb
lolita-menu-0.4.0 config/routes.rb
lolita-menu-0.3.6 config/routes.rb
lolita-menu-0.3.5 config/routes.rb
lolita-menu-0.3.4 config/routes.rb
lolita-menu-0.3.2 config/routes.rb
lolita-menu-0.3.1 config/routes.rb
lolita-menu-0.3.0 config/routes.rb
lolita-menu-0.2.2 config/routes.rb
lolita-menu-0.2.1 config/routes.rb
lolita-menu-0.2.0 config/routes.rb
lolita-menu-0.1.7 config/routes.rb