summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-26 16:36:59 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-26 16:36:59 +0000
commit56e984b5e740398d0659432ecdee770de1943e84 (patch)
tree32025556b99832154c2f1680f9ad198446e95491 /app/controllers
parentdaa4272c0e7f657a0070424224cabccbbeca6197 (diff)
downloadredmine-56e984b5e740398d0659432ecdee770de1943e84.tar.gz
redmine-56e984b5e740398d0659432ecdee770de1943e84.zip
Refactor: convert many of the custom Issue routes to REST resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/calendars_controller.rb5
-rw-r--r--app/controllers/gantts_controller.rb4
2 files changed, 8 insertions, 1 deletions
diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb
index 1115691a1..febacd075 100644
--- a/app/controllers/calendars_controller.rb
+++ b/app/controllers/calendars_controller.rb
@@ -32,8 +32,11 @@ class CalendarsController < ApplicationController
@calendar.events = events
end
- render :layout => false if request.xhr?
+ render :action => 'show', :layout => false if request.xhr?
end
+ def update
+ show
+ end
end
diff --git a/app/controllers/gantts_controller.rb b/app/controllers/gantts_controller.rb
index cdfef5238..6a6071e86 100644
--- a/app/controllers/gantts_controller.rb
+++ b/app/controllers/gantts_controller.rb
@@ -43,4 +43,8 @@ class GanttsController < ApplicationController
end
end
+ def update
+ show
+ end
+
end