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