Skip to content

Commit

Permalink
Merge pull request #11610 from eduardoj/add_breadcrumbs_to_trigger_to…
Browse files Browse the repository at this point in the history
…ken_page

Add missing "Tokens" link in breadcrumbs in "Trigger Token" page
  • Loading branch information
saraycp committed Sep 13, 2021
2 parents 528a66a + ea26adf commit fd28e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
= link_to('Your Profile', user_path(User.session!))

- if action_name == 'show'
%li.breadcrumb-item
= link_to 'Tokens', tokens_path
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Trigger Token
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Tokens
- when 'new'
%li.breadcrumb-item{ 'aria-current' => 'page' }
%li.breadcrumb-item
= link_to 'Tokens', tokens_path
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Create Token
- when 'edit'
%li.breadcrumb-item{ 'aria-current' => 'page' }
%li.breadcrumb-item
= link_to 'Tokens', tokens_path
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Edit Token

0 comments on commit fd28e85

Please sign in to comment.