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.
2 parents 5cb4543 + 8f18e81 commit 00e6e04Copy full SHA for 00e6e04
app/helpers/application_helper/flash.rb
@@ -5,13 +5,6 @@ def flash_to_session(*args)
5
session[:flash_msgs] = @flash_array.dup if @flash_array
6
end
7
8
- def render_flash_msg?
9
- # Don't render flash message in gtl, partial is already being rendered on screen
10
- return false if request.parameters[:controller] == "miq_request" && @lastaction == "show_list"
11
- return false if request.parameters[:controller] == "service" && @lastaction == "show" && @view
12
- true
13
- end
14
-
15
def javascript_flash(**args)
16
add_flash(args[:text], args[:severity]) if args[:text].present?
17
0 commit comments