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.3 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.2.2 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.2.1 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.2 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.1.2 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.1.1 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.1 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb
refinerycms-0.9.0 vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb