Sha256: e6596ddb9747bdf434419bb4a922dde91d24a85775259e2970eb60d1ae5d1306
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 Bytes
Contents
Dummy::Application.routes.draw do resources :documents resources :alternates resources :custom_notices, only: [:create, :update] resources :blocks, only: [:create, :update] namespace :admin do get '/new' => 'prefix#new', as: :new_document get '/:id' => 'prefix#show', as: :document get '/:id/edit' => 'prefix#edit', as: :edit_document get '/' => 'prefix#index', as: :documents post '/' => 'prefix#create' put '/' => 'prefix#update' end root 'home#index' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restful_controller-0.2.0 | test/dummy/config/routes.rb |
restful_controller-0.1.5 | test/dummy/config/routes.rb |