Added flash message

This commit is contained in:
Israel Ogbole
2016-06-17 16:15:44 +01:00
parent b7b07c0daa
commit e08b8ee5f2
10 changed files with 46 additions and 94 deletions

View File

@@ -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