Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Rails.application.routes.draw do
  2. devise_for :users, controllers: { :omniauth_callbacks => "users/omniauth_callbacks",
  3. :registrations => 'registrations'}
  4. root 'static_pages#home'
  5. resources :users, only: [:show]
  6. resources :posts, only: [:create, :destroy, :index] do
  7. resources :comments, only: [:index, :create, :destroy]
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement