Sha256: 8364976ece9d8bc9ce041e078a94bdf5e7ab6bb9604e92bcec7fe97b9ae3513a
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 Bytes
Contents
Bigmouth.configure do |config| # Set a class for user model (default: User) config.user_class = "User" # Set a field for username (default: email) config.username_key = "email" # Set a layout (default: bigmouth/default) #config.layout = "application" # Set summary length to truncate (default: 200) config.summary_length = 100 # Set date and time format config.datetime_format = "%B %d, %Y at %l:%M %p" # Set uri and method to sign in config.sign_in_uri = { uri: "/login", method: :get } # Set uri and method to sign out config.sign_out_uri = { uri: "/logout", method: :post } end if defined?(Bigmouth)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigmouth-0.0.2 | test/dummy/config/initializers/bigmouth.rb |