Sha256: c47730f7f2dbe4d3e272e8dc7e19cde774f615c2eca0f4d8e1d3c7dccbd9b7fa
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
Notee::Engine.routes.draw do root to: 'notees#index' get 'new' => 'notees#index' get 'edit/:id' => 'notees#index' get 'category' => 'notees#index' get 'image' => 'notees#index' resources :tokens, only: [:new, :create, :destroy] scope :api, { format: 'json' } do resources :posts, only: [:index, :show, :create, :update, :destroy] resources :images, only: [:index, :show, :create, :destroy] resources :categories, only: [:index, :show, :create, :update, :destroy] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notee-0.3.3 | config/routes.rb |