Sha256: 421cdd92a860db6c18fee41ab1565340d16cf6307e4d768f70319756fa12c978
Contents?: true
Size: 674 Bytes
Versions: 1
Compression:
Stored size: 674 Bytes
Contents
module Bigmouth class Config include ActiveSupport::Configurable config_accessor :user_class config_accessor :layout config_accessor :username_key config_accessor :summary_length config_accessor :datetime_format config_accessor :sign_in_uri config_accessor :sign_out_uri configure do |config| config.user_class = "User" config.layout = "bigmouth/default" config.username_key = "email" config.summary_length = 20 config.datetime_format = "%B %d, %Y at %l:%M %p" config.sign_in_uri = { uri: "/sign_in", method: :get } config.sign_out_uri = { uri: "/sign_out", method: :post } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigmouth-0.0.2 | lib/bigmouth/config.rb |