daily pastebin goal
30%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##
  2. ActionController::Routing::Routes.draw do |map|
  3.   map.namespace :admin do |admin|
  4.     admin.resources :users
  5.   end
  6. end
  7.  
  8. ##
  9.     admin_users GET    /admin/users(.:format)          {:controller=>"admin/users", :action=>"index"}
  10.                 POST   /admin/users(.:format)          {:controller=>"admin/users", :action=>"create"}
  11.  new_admin_user GET    /admin/users/new(.:format)      {:controller=>"admin/users", :action=>"new"}
  12. edit_admin_user GET    /admin/users/:id/edit(.:format) {:controller=>"admin/users", :action=>"edit"}
  13.      admin_user GET    /admin/users/:id(.:format)      {:controller=>"admin/users", :action=>"show"}
  14.                 PUT    /admin/users/:id(.:format)      {:controller=>"admin/users", :action=>"update"}
  15.                 DELETE /admin/users/:id(.:format)      {:controller=>"admin/users", :action=>"destroy"}
  16. MacAlanLarkin:~/Desktop/f alanlarkin$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top