mirror of https://github.com/tootsuite/mastodon
ee82d8a876
The force_ssl method from controllers does not add all of the options that the sitewide configuration in a config block does. For example, HSTS enforcement is not added by the controller method, but is added by this style. |
||
---|---|---|
.. | ||
environments | ||
initializers | ||
locales | ||
activerecord.en.yml | ||
activerecord.ja.yml | ||
application.rb | ||
boot.rb | ||
cable.yml | ||
database.yml | ||
deploy.rb | ||
environment.rb | ||
i18n-tasks.yml | ||
navigation.rb | ||
puma.rb | ||
routes.rb | ||
secrets.yml | ||
settings.yml | ||
sidekiq.yml |