Commit b46d3ddafcd1b0d88cfa89e7aea72805ee6697c5
1 parent
782cb049
Exists in
master
and in
1 other branch
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 | 2 | respond_to :xml, :json |
3 | 3 | actions :show, :index, :create, :update, :new |
4 | 4 | belongs_to :question |
5 | - has_scope :active, :boolean => true, :only => :index | |
5 | + has_scope :active, :type => :boolean, :only => :index | |
6 | 6 | |
7 | 7 | before_filter :authenticate |
8 | 8 | ... | ... |