Sha256: 4c3f2a24718f90cbbef67d4fbb17d4f445fd1d4de8aba7aa8c937cbbe92f4477

Contents?: true

Size: 189 Bytes

Versions: 11

Compression:

Stored size: 189 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :pages, :except => [:new], :collection => {:reorder => :put}
  map.all '*path', :controller  => :pages, :action => :show
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tiny_cms-0.2.10 test/rails_app/config/routes.rb
tiny_cms-0.2.8 test/rails_app/config/routes.rb
tiny_cms-0.2.6 test/rails_app/config/routes.rb
tiny_cms-0.2.5 test/rails_app/config/routes.rb
tiny_cms-0.2.4 test/rails_app/config/routes.rb
tiny_cms-0.2.3 test/rails_app/config/routes.rb
tiny_cms-0.2.2 test/rails_app/config/routes.rb
tiny_cms-0.2.1 test/rails_app/config/routes.rb
tiny_cms-0.2.0 test/rails_app/config/routes.rb
tiny_cms-0.1.1 test/rails_app/config/routes.rb
tiny_cms-0.1.0 test/rails_app/config/routes.rb