Update to rails 3
This commit is contained in:
parent
9ff70a861a
commit
c9fa49c994
41 changed files with 4214 additions and 2461 deletions
|
@ -1,7 +1,7 @@
|
|||
# Filters added to this controller will be run for all controllers in the application.
|
||||
# Likewise, all the methods added will be available for all controllers.
|
||||
class ApplicationController < ActionController::Base
|
||||
|
||||
protect_from_forgery
|
||||
|
||||
if STATUS == :database_readonly or STATUS == :database_offline
|
||||
session :off
|
||||
|
||||
|
|
|
@ -111,8 +111,6 @@ class DiaryEntryController < ApplicationController
|
|||
end
|
||||
|
||||
def rss
|
||||
request.format = :rss
|
||||
|
||||
if params[:display_name]
|
||||
user = User.find_by_display_name(params[:display_name], :conditions => { :status => ["active", "confirmed"] })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue