Skip to content

Commit

Permalink
Merge pull request #13732 from dmarcoux/request-breadcrumbs
Browse files Browse the repository at this point in the history
Correctly check for the current page in request breadcrumbs
  • Loading branch information
danidoni committed Jan 23, 2023
2 parents 349c128 + 64d8b69 commit c9249ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- if current_page?(request_show_path)
- if current_page?(controller: 'webui/request', action: 'show', request_action_id: params[:request_action_id])
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Request #{@bs_request.number}

0 comments on commit c9249ea

Please sign in to comment.