Commit b46d3ddafcd1b0d88cfa89e7aea72805ee6697c5

Authored by Luke Baker
1 parent 782cb049

fix call to has_scope

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/choices_controller.rb
@@ -2,7 +2,7 @@ class ChoicesController < InheritedResources::Base @@ -2,7 +2,7 @@ class ChoicesController < InheritedResources::Base
2 respond_to :xml, :json 2 respond_to :xml, :json
3 actions :show, :index, :create, :update, :new 3 actions :show, :index, :create, :update, :new
4 belongs_to :question 4 belongs_to :question
5 - has_scope :active, :boolean => true, :only => :index 5 + has_scope :active, :type => :boolean, :only => :index
6 6
7 before_filter :authenticate 7 before_filter :authenticate
8 8