Mount the OpenFest engine to the cfp subdomain
This commit is contained in:
parent
c0c4057850
commit
a4c324aeaf
2
Gemfile
2
Gemfile
|
@ -49,6 +49,8 @@ gem 'jquery-datatables-rails'
|
|||
gem 'morrisjs-rails'
|
||||
gem 'raphael-rails'
|
||||
|
||||
gem 'open_fest', path: 'lib/open_fest'
|
||||
|
||||
group :development do
|
||||
gem 'spring'
|
||||
gem 'spring-commands-rspec'
|
||||
|
|
|
@ -5,6 +5,12 @@ GIT
|
|||
specs:
|
||||
yaml_db (0.2.3)
|
||||
|
||||
PATH
|
||||
remote: lib/open_fest
|
||||
specs:
|
||||
open_fest (0.0.1)
|
||||
rails (~> 4.2.3)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
|
@ -360,6 +366,7 @@ DEPENDENCIES
|
|||
jquery-rails
|
||||
morrisjs-rails
|
||||
nested_form
|
||||
open_fest!
|
||||
pg
|
||||
phony_rails
|
||||
pry-rails
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
Rails.application.routes.draw do
|
||||
devise_for :users
|
||||
mount OpenFest::Engine, at: '/', constraints: {subdomain: 'cfp'}
|
||||
|
||||
devise_for :users, path: 'management'
|
||||
|
||||
namespace :management do
|
||||
root to: 'home#index'
|
||||
|
|
Loading…
Reference in New Issue