Sha256: 9b3290dfb44ca18000e44ae22b20671c0564b917f124f434ae09d8317d7c2de1

Contents?: true

Size: 322 Bytes

Versions: 202

Compression:

Stored size: 322 Bytes

Contents

module Phcmemberspro
	module ApplicationHelper

		# Bootstrap Notification System
		def flash_class(level)
			case level.to_sym
				when :notice then "alert alert-info"
				when :success then "alert alert-success"
				when :error then "alert alert-danger"
				when :alert then "alert alert-warning"
			end
		end

	end
end

Version data entries

202 entries across 202 versions & 1 rubygems

Version Path
phcmemberspro-7.7.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.6.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.7 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.6 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.5 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.2 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.1 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.5.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.1.2 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.1.1 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.1.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.0.4 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.0.3 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.0.2 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.0.1 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-7.0.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-6.9.0 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-6.8.18 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-6.8.17 app/helpers/phcmemberspro/application_helper.rb
phcmemberspro-6.8.16 app/helpers/phcmemberspro/application_helper.rb