Sha256: d6917f8f23af083fe77b047e7b3c3d93cf5a02ccf9ba86785b9366cec0c29e5f

Contents?: true

Size: 433 Bytes

Versions: 33

Compression:

Stored size: 433 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', :value => /\d+/

  root :to => 'users#index'
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
merit-4.0.3 test/dummy/config/routes.rb
qalam_merit-4.5.12 test/dummy/config/routes.rb
merit-4.0.2 test/dummy/config/routes.rb
qalam_merit-4.5.11 test/dummy/config/routes.rb
qalam_merit-4.5.10 test/dummy/config/routes.rb
qalam_merit-4.5.09 test/dummy/config/routes.rb
qalam_merit-4.5.08 test/dummy/config/routes.rb
qalam_merit-4.5.07 test/dummy/config/routes.rb
qalam_merit-4.5.06 test/dummy/config/routes.rb
qalam_merit-4.5.05 test/dummy/config/routes.rb
qalam_merit-4.5.04 test/dummy/config/routes.rb
qalam_merit-4.5.03 test/dummy/config/routes.rb
qalam_merit-4.5.02 test/dummy/config/routes.rb
qalam_merit-4.5.01 test/dummy/config/routes.rb
qalam_merit-4.5.00 test/dummy/config/routes.rb
qalam_merit-4.0.4 test/dummy/config/routes.rb
qalam_merit-4.0.35 test/dummy/config/routes.rb
merit-4.0.1 test/dummy/config/routes.rb
merit-4.0.0 test/dummy/config/routes.rb
merit-3.0.3 test/dummy/config/routes.rb