Skip to content

Commit 3b8c3c8

Browse files
committed
Update application_controller.rb
1 parent 52604f9 commit 3b8c3c8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/controllers/application_controller.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ class ApplicationController < ActionController::Base
3737

3838
# GET /
3939
def main2
40+
@display = {
41+
validly_published:
42+
[:abbr_name, [:names_path, sort: :date, status: :SeqCode]],
43+
names: [:abbr_name, [:names_path, sort: :date]],
44+
publications:
45+
[:short_citation, [:publications_path, sort: :date]],
46+
register_lists:
47+
[:acc_url, [:registers_path, status: :validated]],
48+
genomes: [:text, :genomes_path],
49+
strains: [:title, :strains_path]
50+
}
4051
end
4152

4253
def main

0 commit comments

Comments
 (0)