Skip to content

Commit

Permalink
Add fixity dashboard link to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Mar 12, 2018
1 parent c78e5b6 commit cf946e6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions app/views/catalog/_fixity_dashboard_home.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="row">
<div class="col-md-12">
<div class="panel panel-fixity panel-classify-work">
<div class="panel-heading">Fixity</div>
<div class="panel-body">
<ul>
<li><%= link_to 'Fixity Dashboard', fixity_dashboard_path %></li>
</ul>
</div>
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions app/views/catalog/_home_text.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@
<%= render partial: 'catalog/ephemera_box_home' %>
<%= render partial: 'catalog/report_home' %>
<%= render partial: 'catalog/fixity_dashboard_home' %>
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
Rails.application.routes.draw do
get 'dashboard/fixity', to: 'fixity_dashboard#show'
get 'dashboard/fixity', to: 'fixity_dashboard#show', as: 'fixity_dashboard'

resources :auth_tokens
default_url_options Rails.application.config.action_mailer.default_url_options
Expand Down

0 comments on commit cf946e6

Please sign in to comment.