Skip to content

Instantly share code, notes, and snippets.

@BitOfUniverse
Created May 23, 2016 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BitOfUniverse/0ffe2536272a4a510a4ffc716f389957 to your computer and use it in GitHub Desktop.
Save BitOfUniverse/0ffe2536272a4a510a4ffc716f389957 to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
devise_for :users
get '/watch/:id', to: 'users#watch', as: :watch
get '/stream', to: 'users#stream', as: :stream
root 'users#stream'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment