Permalink
Browse files

* Marking controllers as unloadable (http://dev.rubyonrails.org/ticke…

  • Loading branch information...
1 parent 4acd5cc commit 1427c7dae1ef279fc5b4f5f6e23b6b45d1d77676 @edavis10 committed Jan 9, 2008
Showing with 3 additions and 1 deletion.
  1. +2 −1 app/controllers/score_options_controller.rb
  2. +1 −0 app/controllers/scores_controller.rb
@@ -1,4 +1,5 @@
class ScoreOptionsController < ApplicationController
+ unloadable
layout 'base'
before_filter :find_project, :authorize
@@ -12,7 +13,7 @@ def edit
when :post
@score_options = params[:score_option]
@score_options.each do |id,text|
-
+
@score_option = ScoreOption.find_or_create_by_id(id)
@score_option.name = text
@@ -1,4 +1,5 @@
class ScoresController < ApplicationController
+ unloadable
layout 'base'
before_filter :find_project, :authorize

0 comments on commit 1427c7d

Please sign in to comment.