app/controllers/image_viewer_controller.rb in commonwealth-vlr-engine-0.0.1 vs app/controllers/image_viewer_controller.rb in commonwealth-vlr-engine-0.0.2

- old
+ new

@@ -8,11 +8,11 @@ #@img_to_show = params[:view] @title = @document[blacklight_config.index.title_field.to_sym] @page_sequence = get_page_sequence(@document.id, params[:view]) respond_to do |format| format.js - format.html { redirect_to catalog_path(@document.id, - :view => params[:view]) } + format.html { redirect_to solr_document_path(@document.id, + :view => params[:view]) } end end def book_viewer @response, @document = fetch(params[:id]) \ No newline at end of file