mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 17:50:13 +01:00
Changes you will need to make: * In your environment.rb, you will need to update references to a few files per environment.rb.tmpl * In your environment.rb, you will need to specify the local time zone of the computer that is running your Tracks install. Other notes on my changes: * Modified our code to take advantage of Rails 2.1's slick time zone support. * Upgraded will_paginate for compatibility * Hacked the Selenium on Rails plugin, which has not been updated in some time and does not support Rails 2.1 * Verified that all tests pass on my machine, including Selenium tests -- I'd like confirmation from others, too.
15 lines
705 B
Ruby
15 lines
705 B
Ruby
# Filters added to this controller apply to all controllers in the application.
|
|
# Likewise, all the methods added will be available for all controllers.
|
|
|
|
class ApplicationController < ActionController::Base
|
|
helper :all # include all helpers, all the time
|
|
|
|
# See ActionController::RequestForgeryProtection for details
|
|
# Uncomment the :secret if you're not using the cookie session store
|
|
protect_from_forgery # :secret => '<%= app_secret %>'
|
|
|
|
# See ActionController::Base for details
|
|
# Uncomment this to filter the contents of submitted sensitive data parameters
|
|
# from your application log (in this case, all fields with names like "password").
|
|
# filter_parameter_logging :password
|
|
end
|