Skip to content

Instantly share code, notes, and snippets.

@tiagogeraldi
Created August 8, 2018 23:16
Show Gist options
  • Save tiagogeraldi/3c8606c83e1464a39d0955687144166f to your computer and use it in GitHub Desktop.
Save tiagogeraldi/3c8606c83e1464a39d0955687144166f to your computer and use it in GitHub Desktop.
Part of Apartment with no subdomain
Rails.application.routes.draw do
devise_for :users
resources :posts
resources :tenant_sessions, only: [:new, :create]
root to: 'posts#index'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment