Sha256: 67b1c764aa43d91d5bf1923151375e1dcaca49547e1bae0241d7891b4a0dd679
Contents?: true
Size: 1.34 KB
Versions: 9
Compression:
Stored size: 1.34 KB
Contents
module Casein module ConfigHelper # Name of website or client — used throughout Casein. def casein_config_website_name 'Casein' end # Filename of logo image. Ideally, it should be a transparent PNG around 140x30px def casein_config_logo 'casein/casein.png' end # The server hostname where Casein will run def casein_config_hostname if Rails.env.production? 'http://www.caseincms.com' else 'http://0.0.0.0:3000' end end # The sender address used for email notifications def casein_config_email_from_address 'donotreply@caseincms.com' end # The initial page the user is shown after they sign in or click the logo. Probably this should be set to the first tab. # Do not point this at casein/index! def casein_config_dashboard_url url_for :controller => :casein, :action => :blank end # A list of stylesheets to include. Do not remove the core casein/casein, but you can change the load order, if required. def casein_config_stylesheet_includes %w[casein/casein casein/custom] end # A list of JavaScript files to include. Do not remove the core casein/casein, but you can change the load order, if required. def casein_config_javascript_includes %w[casein/casein casein/custom] end end end
Version data entries
9 entries across 9 versions & 1 rubygems