Class: Underlay::EnforceSslGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Underlay::EnforceSslGenerator
- Includes:
- Actions
- Defined in:
- lib/underlay/generators/enforce_ssl_generator.rb
Instance Method Summary collapse
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_application_file, #configure_environment, #replace_in_file
Instance Method Details
#enforce_ssl ⇒ Object
10 11 12 |
# File 'lib/underlay/generators/enforce_ssl_generator.rb', line 10 def enforce_ssl configure_environment 'production', 'config.force_ssl = true' end |