Sha256: fe14e196cd59da6a7e20bac46c2b65737feb433f3649c43fa15d135e855e77de

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

module LayMeOut
  class StyleguideController < ::ApplicationController
    add_breadcrumb "Styleguide", :root_path

    def index
      flash.now[:error] = "This is an error message!"
      flash.now[:warning] = "This is a warning message"
      flash.now[:success] = ["This is a success message!", "So it this!"]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lay_me_out-1.2.9 app/controllers/lay_me_out/styleguide_controller.rb
lay_me_out-1.2.8 app/controllers/lay_me_out/styleguide_controller.rb