diff config/application.rb @ 36:1fdb3fc5ec31

Move setting of secret_key_base to application.rb. One less file to take care about.
author edogawaconan <me@myconan.net>
date Thu, 11 Dec 2014 15:43:36 +0900
parents 9defe1ae5814
children aa6d58c8653b
line wrap: on
line diff
--- a/config/application.rb	Thu Dec 11 15:38:23 2014 +0900
+++ b/config/application.rb	Thu Dec 11 15:43:36 2014 +0900
@@ -28,6 +28,9 @@
     # config.i18n.default_locale = :de
     config.middleware.delete "ActionDispatch::Cookies"
 
+    # this isn't actually used but railties checks this variable during boot.
+    config.secret_key_base = "herp a derp"
+
     if ENV["RT_MEMCACHED_SERVERS"]
       config.cache_store = :mem_cache_store, ENV["RT_MEMCACHED_SERVERS"].split(","), { :namespace => "rsstweet" }
     end