Sha256: c8a87110be9c25f1c93e1aa22aa8079acd43a36203b30929011cd29d631c0671
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
Answers::Core.configure do |config| # When true will rescue all not found errors and display a friendly error page config.rescue_not_found = Rails.env.production? # When true this will force SSL redirection in all Answers backend controllers. # config.force_ssl = <%= Answers::Core.force_ssl.inspect %> # When true will use Amazon's Simple Storage Service instead of # the default file system for storing resources and images config.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?) # Whenever Answers caches anything and can set a cache key, it will add # a prefix to the cache key containing the string you set here. # config.base_cache_key = <%= Answers::Core.base_cache_key.inspect %> # Site name # config.site_name = <%= Answers::Core.site_name.inspect %> # This activates Google Analytics tracking within your website. If this # config is left blank or set to UA-xxxxxx-x then no remote calls to # Google Analytics are made. # config.google_analytics_page_code = <%= Answers::Core.google_analytics_page_code.inspect %> # Enable/disable authenticity token on frontend # config.authenticity_token_on_frontend = <%= Answers::Core.authenticity_token_on_frontend.inspect %> # Register extra javascript for backend # config.register_javascript "prototype-rails" # Register extra stylesheet for backend (optional options) # config.register_stylesheet "custom", :media => 'screen' # Specify a different backend path than the default of /answers. # config.backend_route = <%= Answers::Core.backend_route.inspect %> end
Version data entries
2 entries across 2 versions & 1 rubygems