Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 189 Bytes
module Flasher
module Translate
def flash_t(key)
t("flash.#{params[:controller].gsub('/', '.')}#{key}")
end
end
end
require 'flasher/rails_engine' if defined?(::Rails::Engine)
Jump to Line
Something went wrong with that request. Please try again.