Sha256: 9ef43143eb2a607332e3ba8d0af183a3689fcd8a72b21677465bc1a5e33fc0e6

Contents?: true

Size: 227 Bytes

Versions: 28

Compression:

Stored size: 227 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :<%= class_name.pluralize.underscore.downcase %>

  map.namespace(:admin) do |admin| 
  	admin.resources :<%= class_name.pluralize.underscore.downcase %>
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.12 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.11 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.10 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.9 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.8 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.7 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.6 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.5 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.4 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.3 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.2 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5.1 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.5 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4.5 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4.4 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4.3 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4.2 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4.1 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.4 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb