Browse Source

Merge pull request #138 from lexintegritastech/fix-ux-for-clickable-links

Remove `is_citator_tab` params
master
Alexander D. Bondoc 4 years ago committed by GitHub
parent
commit
0cb656a60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/components/citation_index_table_component.rb

4
app/components/citation_index_table_component.rb

@ -22,8 +22,8 @@ class CitationIndexTableComponent < BaseComponent
end
def citator_path
return document_path(search_result.document.id, is_citator_tab: true) if search_result.document.present?
return document_path(search_result.document.id) if search_result.document.present?
document_path(search_result.id, is_citator_tab: true)
document_path(search_result.id)
end
end

Loading…
Cancel
Save