Sha256: 0eb1ff6a3b8a12703803b92183feca48c35b8b050a939dd7adaaf79c3d2724ef
Contents?: true
Size: 1.1 KB
Versions: 14
Compression:
Stored size: 1.1 KB
Contents
# This is an auto-generated file: don't edit! # You can add your own routes in the config/routes.rb file # which will override the routes in this file. <%= Rails.application.class.name %>.routes.draw do <% for subsite in subsites -%> <%- if subsite -%> <%= "namespace :#{subsite} do" %> <%- end -%> <%- for controller in controllers_for(subsite) -%> <%- router = router_for(subsite, controller) -%> <%= " #{' ' if subsite}# Resource routes for controller #{controller.controller_path}" %> <%= router.emit_hash(router.resources_hash, subsite ? " " : " ") -%> <%- router.owner_actions.each do |owner_hash| -%> <%= " #{' ' if subsite}# Owner routes for controller #{controller.controller_path}" %> <%= router.emit_hash(owner_hash, subsite ? " " : " ") -%> <%- end -%> <%- unless (routes = router.user_routes).blank? -%> <%= "#{' ' if subsite} # User routes for controller #{controller.controller_path}" %> <%- for route in routes -%> <%= "#{' ' if subsite} #{route}" %> <%- end -%> <%- end -%> <%- end -%> <%- if subsite -%> end <%- end -%> <%- end -%> end
Version data entries
14 entries across 14 versions & 1 rubygems