app/controllers/recommender/entries_controller.rb in muck-raker-0.1.10 vs app/controllers/recommender/entries_controller.rb in muck-raker-0.1.11

- old
+ new

@@ -4,16 +4,18 @@ @no_index = true end def index @tag_cloud = TagCloud.language_tags(Language.locale_id) unless fragment_exist?({:controller => 'entries', :action => 'index', :language => Language.locale_id}) + @refresh_results = true respond_to do |format| format.html { render :template => 'entries/index' } end end def browse_by_tags + @refresh_results = true @tag_filter = params[:tags] @search = @tag_filter.join(' ') if (!@tag_filter.nil? && !@tag_filter.empty?) @tag_filter = @tag_filter.join('/') @tag_cloud = TagCloud.language_tags(Language.locale_id, @tag_filter) unless fragment_exist?({:controller => 'entries', :action => 'index', :language => Language.locale_id, :filter => @tag_filter}) _search(:and) @@ -21,9 +23,10 @@ format.html { render :template => 'entries/browse_by_tags' } end end def search + @refresh_results = true @search = params[:q] _search respond_to do |format| format.html { render :template => 'entries/search' } end