Sha256: d9bb35796347ab1be877955eaec553f7772581eda957bb1727e75659d85274a9

Contents?: true

Size: 704 Bytes

Versions: 7

Compression:

Stored size: 704 Bytes

Contents

en:
  flash_messages:
    #
    # These are the translations for the different headings.
    #
    headings:
      success: "Success!"
      info: "Info!"
      warning: "Warning!"
      error: "Error!"
    #
    # Add flash messages for controller actions:
    # products:
    #   create:
    #     success: "This is a notification"
    #     error: "Something went wrong"
    #
    # Inside controller:
    # def create
    #   flash!(:success, :error)
    #   redirect_to(:root)
    # end
    #
    # OR
    # 
    # def create
    #   redirect_to(:root, :flash => [:success, :error])
    # end
    #
    # OR
    #
    # def create
    #   flash_now!(:success, :error)
    #   render("new")
    # end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap_flash_messages-0.0.7 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.6 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.5 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.4 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.3 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.2 lib/generators/bootstrap_flash_messages/templates/flash.en.yml
bootstrap_flash_messages-0.0.1 lib/generators/bootstrap_flash_messages/templates/flash.en.yml