forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
32ad97cc91
commit
9fbfc4641f
|
@ -100,7 +100,7 @@ class PersonalJournalsController < ApplicationController
|
|||
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
|
||||
"url" => "/"+params[:locale]+params[:url],
|
||||
"all" => journal_papers_show_last,
|
||||
"all_n" => JournalPaper.where(:is_hidden=>false).take(100).select {|value| value.paper_title.to_s.include? "1"}
|
||||
"all_n" => JournalPaper.where(:is_hidden=>false).take(100).select {|value| value.paper_title.to_s.include? "2"}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue