filter_parameter_logging :password
protect_from_forgery
+ rescue_from ActionController::InvalidAuthenticityToken, :with => :invalid_authenticity_token
+
include Redmine::Search::Controller
include Redmine::MenuManager::MenuController
helper Redmine::MenuManager::MenuHelper
render :text => '', :layout => !request.xhr?, :status => 500
end
+ def invalid_authenticity_token
+ render_error "Invalid form authenticity token."
+ end
+
def render_feed(items, options={})
@items = items || []
@items.sort! {|x,y| y.event_datetime <=> x.event_datetime }