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 3baf75f commit 46150f8Copy full SHA for 46150f8
app/controllers/application_controller.rb
@@ -8,6 +8,6 @@ class ApplicationController < ActionController::Base
8
private
9
10
def show_flash
11
- flash[:success] = "Found the about page!" if request.path == '/pages/about'
+ flash.now[:notice] = "Found the about page!" if request.path == '/pages/about'
12
end
13
0 commit comments