Browse Source

Rescue Query::StatementInvalid in TimelogController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10973 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.3.0
Jean-Philippe Lang 11 years ago
parent
commit
aba07a860f
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/controllers/timelog_controller.rb

+ 2
- 0
app/controllers/timelog_controller.rb View File

@@ -30,6 +30,8 @@ class TimelogController < ApplicationController
accept_rss_auth :index
accept_api_auth :index, :show, :create, :update, :destroy

rescue_from Query::StatementInvalid, :with => :query_statement_invalid

helper :sort
include SortHelper
helper :issues

Loading…
Cancel
Save