We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4700792 commit fd86d09Copy full SHA for fd86d09
2 files changed
app/controllers/workflows_controller.rb
@@ -24,7 +24,6 @@ def index
24
# GET /workflows/1.json
25
def show
26
authorize @workflow
27
- @skip_flash_messages_in_header = true # we will handle flash messages in the 'workflows' layout
28
respond_to do |format|
29
format.html { render layout: 'workflows' }
30
format.json
app/views/layouts/_header.html.erb
@@ -93,11 +93,9 @@
93
</div>
94
<% end %>
95
96
- <% if !defined? @skip_flash_messages_in_header or !@skip_flash_messages_in_header %>
97
- <div id="flash-container" class="container-fluid">
98
- <%= flash_messages %>
99
- </div>
100
- <% end %>
+ <div id="flash-container" class="container-fluid">
+ <%= flash_messages %>
+ </div>
101
</header>
102
103
<%= render(partial: 'layouts/cookie_banner') if cookie_consent.show_banner? %>
0 commit comments