diff --git a/app/helpers/alchemy/base_helper.rb b/app/helpers/alchemy/base_helper.rb index 7def0540a4..f2abf1123d 100644 --- a/app/helpers/alchemy/base_helper.rb +++ b/app/helpers/alchemy/base_helper.rb @@ -46,15 +46,6 @@ def render_message(type = :info, msg = nil, &blk) render Alchemy::Admin::Message.new(msg || capture(&blk), type: type) end - # Renders a dismissable growl message. - # - # @param [String] notice - The notice you want to display - # @param [Symbol] type - The type of this flash. Valid values are +:notice+ (default), +:warn+, +:info+ and +:error+ - # - def render_flash_notice(notice, type = :notice) - render Alchemy::Admin::Message.new(notice, type: type, dismissable: true) - end - # Checks if the given argument is a String or a Page object. # If a String is given, it tries to find the page via page_layout # Logs a warning if no page is given. diff --git a/app/views/alchemy/admin/partials/_flash_notices.html.erb b/app/views/alchemy/admin/partials/_flash_notices.html.erb index 3ff6440cf4..7db4e73f54 100644 --- a/app/views/alchemy/admin/partials/_flash_notices.html.erb +++ b/app/views/alchemy/admin/partials/_flash_notices.html.erb @@ -1,7 +1,7 @@