daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest May 16th, 2018 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ActionController::Routing::Routes.draw do |map|
  2.   map.resources :brushes
  3.  
  4.   map.connect ':controller/:action/:id'
  5.   map.connect ':controller/:action/:id.:format'
  6.  
  7.   map.root :controller => 'home'
  8.  
  9.   map.admin '/admin', :controller => 'admin/home', :action => 'index'
  10.  
  11.   map.namespace(:admin) do |admin|
  12.     admin.resources :photoshop_versions
  13.   end
  14. end
RAW Paste Data
Top