new modes
This commit is contained in:
@@ -26,9 +26,10 @@ development:
|
||||
# re-generated from your development database when you run "rake".
|
||||
# Do not set this db to the same as development or production.
|
||||
test:
|
||||
adapter: sqlite3
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
database: data/test.sqlite3
|
||||
database: aperonight_development
|
||||
# adapter: sqlite3
|
||||
# pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
# database: data/test.sqlite3
|
||||
|
||||
# As with config/credentials.yml, you never want to store sensitive information,
|
||||
# like your database password, in your source code. If your source code is
|
||||
|
||||
@@ -12,6 +12,10 @@ Rails.application.routes.draw do
|
||||
# Defines the root path route ("/")
|
||||
root "pages#home"
|
||||
|
||||
# Events page
|
||||
get "events", to: "events#index"
|
||||
get "events/:id", to: "events#show"
|
||||
|
||||
# Routes for devise authentication Gem
|
||||
# Bind devise to user
|
||||
# devise_for :users
|
||||
|
||||
Reference in New Issue
Block a user