Linking the conferences on home page to their splash page
This commit is contained in:
parent
4e395a0d7a
commit
cb8f4ccd2e
12 changed files with 62 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Many of these configuration options can be set straight in your model.
|
||||
Devise.setup do |config|
|
||||
# ==> Secret key, generate one with `rake secret`
|
||||
config.secret_key = CONFIG['devise_secret_key']
|
||||
config.secret_key = "CONFIG['devise_secret_key']"
|
||||
|
||||
# ==> Mailer Configuration
|
||||
# Configure the e-mail address which will be shown in Devise::Mailer,
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
Osem::Application.routes.draw do
|
||||
|
||||
get 'conferences/show'
|
||||
|
||||
devise_for :users, :controllers => { :registrations => :registrations }, :path => 'accounts'
|
||||
|
||||
namespace :admin do
|
||||
resources :users
|
||||
resources :people
|
||||
resources :conference do
|
||||
get "conferences/(:title)" => "conferences#show"
|
||||
get "/schedule" => "schedule#show"
|
||||
put "/schedule" => "schedule#update"
|
||||
get "/stats" => "stats#index"
|
||||
|
|
|
|||
2
config/secrets.yml
Normal file
2
config/secrets.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
development:
|
||||
secret_key_base: "12345"
|
||||
Loading…
Add table
Add a link
Reference in a new issue