Sha256: 24b37e39b292ad2905738f716087b791a7913ae6ff16dacab104a51e3fd8825c

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.connect '/admin/kitsune', :controller => 'admin/kitsune/models'
  map.namespace :admin do |admin|
    admin.namespace :kitsune do |kitsune|
      kitsune.resource :session
      kitsune.resources :kitsune_users, :as => :users
      kitsune.resources :pages
      kitsune.resources :models do |model|
				model.resources :records
        model.resources :media, :only => [:new, :create]
			end
    end
  end
  map.connect '/*url', :controller => 'kitsune', :action => 'show'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kitsune-0.2.0 config/kitsune_routes.rb
kitsune-0.1.5 config/kitsune_routes.rb
kitsune-0.1.4 config/kitsune_routes.rb
kitsune-0.1.3 config/kitsune_routes.rb
kitsune-0.1.2 config/kitsune_routes.rb
kitsune-0.1.1 config/kitsune_routes.rb