Sha256: 22637ca263e039ebefc576402998d51ce3ab19981d5f66f7a97115950cfbc188
Contents?: true
Size: 461 Bytes
Versions: 2
Compression:
Stored size: 461 Bytes
Contents
class SamplesController < ApplicationController def index;end def bootstrap_forms_for @post = Post.new @years = [10.years.ago.year .. 12.years.since.year] end def bootstrap_flash_messages flash[:notice]='Example of notice' flash[:alert]='Example of error' flash[:info] = "Example of info" flash[:just_another_type]=['Example of warning(default flash message)', 'Another warning info'] end def bootstrap_tab_items;end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_helpers-0.0.9 | test_app/app/controllers/samples_controller.rb |
bootstrap_helpers-0.0.8 | test_app/app/controllers/samples_controller.rb |