Sha256: a3f937513980d49b1ce92f27a6047000c7a66830f5f62945f4ccb997a7a281a4

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 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.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

4 entries across 4 versions & 1 rubygems

Version Path
kitsune-0.1.0 config/kitsune_routes.rb
kitsune-0.0.19 config/kitsune_routes.rb
kitsune-0.0.18 config/kitsune_routes.rb
kitsune-0.0.17 config/kitsune_routes.rb