Skip to content

Commit

Permalink
The before_filter that runs current_search_session is only necessary …
Browse files Browse the repository at this point in the history
…on index
  • Loading branch information
jcoyne committed Feb 28, 2014
1 parent a198b99 commit 9e34419
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/blacklight/catalog/search_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ module Blacklight::Catalog::SearchContext
# own controller.
included do
helper_method :current_search_session, :search_session
before_filter :current_search_session

# Save the submitted search parameters in the search session
before_filter :current_search_session, only: :index
end

protected
Expand Down

0 comments on commit 9e34419

Please sign in to comment.