Sha256: 6542b0d4ea2fb4f2e14ff5aaa5bf3152496a41c6ee1aac9b3b038bb443c490ec

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 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, :has_many => [:records]
    end
  end
  
  map.connect '/*url', :controller => 'kitsune', :action => 'show'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kitsune-0.0.5 config/kitsune_routes.rb
kitsune-0.0.4 config/kitsune_routes.rb
kitsune-0.0.3 config/kitsune_routes.rb
kitsune-0.0.2 config/kitsune_routes.rb