Class: Suspenders::Production::ForceTlsGenerator

Inherits:
Generators::Base
  • Object
show all
Defined in:
lib/suspenders/generators/production/force_tls_generator.rb

Instance Method Summary collapse

Methods inherited from Generators::Base

default_source_root, inherited

Methods included from Actions

#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file

Instance Method Details

#config_enforce_sslObject


6
7
8
# File 'lib/suspenders/generators/production/force_tls_generator.rb', line 6

def config_enforce_ssl
  configure_environment "production", "config.force_ssl = true"
end