rails 4 and tons of stuff

This commit is contained in:
jomo
2014-04-14 06:26:37 +02:00
parent b740c4db3a
commit 7135d2690c
41 changed files with 349 additions and 206 deletions
-5
View File
@@ -59,11 +59,6 @@ module Site
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
# parameters by using an attr_accessible or attr_protected declaration.
config.active_record.whitelist_attributes = true
# Enable the asset pipeline
config.assets.enabled = true
-3
View File
@@ -29,9 +29,6 @@ Site::Application.configure do
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
# Raise exception on mass assignment protection for Active Record models
config.active_record.mass_assignment_sanitizer = :strict
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
end
+1 -1
View File
@@ -27,7 +27,7 @@ Site::Application.routes.draw do
resources :forumthreads, path: '/forums/threads'
resources :forumgroups, path: 'forums/groups'
match '/status' => 'status#show'
get '/status' => 'status#show'
get "logout" => 'sessions#destroy'
get 'login' => 'sessions#new'