Skip to content

Commit

Permalink
distinct isn't treated as a write operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Seguin committed Mar 5, 2011
1 parent b2c19e5 commit eac8018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/collection_controller.rb
@@ -1,5 +1,5 @@
class CollectionController < ApplicationController
before_filter :before_write, :except => [:find, :count, :stats, :get_indexes]
before_filter :before_write, :except => [:find, :count, :stats, :get_indexes, :distinct]
def find
collection = @context.to_collection(params[:collection])

Expand Down

0 comments on commit eac8018

Please sign in to comment.