Sha256: 0bca9e103bca4fdd6ab47ea97f6525eded7623a865e279107790500248b2b69c

Contents?: true

Size: 319 Bytes

Versions: 14

Compression:

Stored size: 319 Bytes

Contents

module Phcmembers
	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

14 entries across 14 versions & 1 rubygems

Version Path
phcmembers-1.6.0 app/helpers/phcmembers/application_helper.rb
phcmembers-1.5.0 app/helpers/phcmembers/application_helper.rb
phcmembers-1.0.2 app/helpers/phcmembers/application_helper.rb
phcmembers-1.0.1 app/helpers/phcmembers/application_helper.rb
phcmembers-1.0.0 app/helpers/phcmembers/application_helper.rb
phcmembers-0.9.8 app/helpers/phcmembers/application_helper.rb
phcmembers-0.9.7 app/helpers/phcmembers/application_helper.rb
phcmembers-0.9.6 app/helpers/phcmembers/application_helper.rb
phcmembers-0.8.0 app/helpers/phcmembers/application_helper.rb
phcmembers-0.6.2 app/helpers/phcmembers/application_helper.rb
phcmembers-0.6.1 app/helpers/phcmembers/application_helper.rb
phcmembers-0.6.0 app/helpers/phcmembers/application_helper.rb
phcmembers-0.5.9 app/helpers/phcmembers/application_helper.rb
phcmembers-0.5.8 app/helpers/phcmembers/application_helper.rb