class NotificationController < ApplicationController
def index
logger.info 'index'
end
def show_notice
# flash.alert = 'toto'
flash.alert = %w[titi toto]
redirect_to notification_index_path, notice: 'this is a notice'
end
def show_alert
flash.notice = ['italic message', 'normal message']
redirect_to notification_index_path, alert: 'this is an alert'
end
end