Sha256: 95cf97dfb424b850e023af08b2f1cda10f6affba431591813e1a0168104d50dc
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
Dummy::Application.routes.draw do namespace :admin do get '/users' => 'users#index' end namespace :api do get '/users' => 'users#index' resources :comments, only: [:show] end resources :users, :except => :update resources :registrations, :only => :update, :as => :registrations_user resources :comments get '/comments/:id/vote/:value' => 'comments#vote', :id => /\d+/, :value => /\d+/ root :to => 'users#index' end
Version data entries
6 entries across 6 versions & 1 rubygems