Added flash message
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
class PlainpageController < ApplicationController
|
||||
|
||||
def index
|
||||
flash[:success ] = "Success Flash Message: Welcome to GentellelaOnRails"
|
||||
#other alternatives are
|
||||
# flash[:warn ] = "Israel don't quite like warnings"
|
||||
#flash[:danger ] = "Naomi let the dog out!"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user