Skip to content

Commit

Permalink
Sphinx bugfix. [#33]
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Oct 25, 2010
1 parent 48a103a commit b2e757f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/documents_controller.rb
Expand Up @@ -35,7 +35,6 @@ def search
@documents = Document.search(params[:query]+"*", :excerpts => true)
@categories = Category.search(params[:query]+"*", :exceprts => true)
#Filter out results that you won't be able to see
logger.debug @documents.to_yaml
@documents.delete_if{|d| d.nil? || !d.allowed_to_read}
@categories.delete_if{|c| c.nil? || !c.allowed_to_read}
respond_to do |format|
Expand Down

0 comments on commit b2e757f

Please sign in to comment.