Browse Source

Remove `is_citator_tab` params

pull/138/head
Alexander D. Bondoc 4 years ago
parent
commit
5b61cf9dba
No known key found for this signature in database
GPG Key ID: 2CCA40FDDA18E7F8
  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 end
def citator_path 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
end end

Loading…
Cancel
Save