Sha256: 23e63424151acd8a694a17548663f9dd47fa38ed6f4c872be37b4a229d626b7b
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
Typus.setup do |config| # Application name. config.admin_title = "<%= options[:admin_title] %>" # config.admin_sub_title = "" # When mailer_sender is set, password recover is enabled. This email # address will be used in Admin::Mailer. # # Remember to setup the default url options for your specific environment # Here is an example of development environment: # # config.action_mailer.default_url_options = { :host => 'localhost:3000' } # # This is a required Rails configuration. In production it must be the actual # actual host of your application # # config.mailer_sender = "admin@example.com" # Define paperclip attachment styles. # config.file_preview = :medium # config.file_thumbnail = :thumb # Authentication: +:none+, +:http_basic+ # Run `rails g typus:migration` if you need an advanced authentication system. # config.authentication = :none # Define username and password for +:http_basic+ authentication # config.username = "admin" # config.password = "columbia" # Pagination options: These options are passed to `kaminari`. # config.pagination = { :previous_label => "← " + Typus::I18n.t("Previous"), # :next_label => Typus::I18n.t("Next") + " →" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.0.rc19 | lib/generators/templates/config/initializers/typus.rb |