Archived
rails 4 and tons of stuff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user