forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
460d7fc09f
commit
1ec3f6ad64
|
@ -17,8 +17,7 @@ class PersonalJournalsController < ApplicationController
|
|||
else
|
||||
fields_to_show = [
|
||||
"year",
|
||||
"paper_title",
|
||||
"authors"
|
||||
"paper_title"
|
||||
]
|
||||
end
|
||||
journal_paper_list = []
|
||||
|
@ -61,7 +60,8 @@ class PersonalJournalsController < ApplicationController
|
|||
"extras" => {"widget-title" => t("module_name.journal_paper")},
|
||||
"total_pages" => journal_papers.total_pages,
|
||||
"all_choice" => fields_to_show,
|
||||
"123" => journal_papers
|
||||
"123" => journal_papers,
|
||||
"default_choice" => "paper_title"
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue