Permalink
Browse files

fix cyclescape.org -> cyklistesobe.cz

  • Loading branch information...
PetrDlouhy committed Jan 22, 2018
1 parent 425e269 commit c7a28ba5b1946954c271a1906719e1627d500c8c
Showing with 4 additions and 4 deletions.
  1. +1 −1 config/application.rb
  2. +3 −3 config/initializers/rakismet.rb
View
@@ -54,7 +54,7 @@ class Application < Rails::Application
config.cache_store = :redis_store
# ActionMailer default URL options
config.action_mailer.default_url_options = { host: 'www.cyclescape.org' }
config.action_mailer.default_url_options = { host: 'www.cyklistesobe.cz' }
# Git info
config.git_hash = `git rev-parse --short HEAD`.chomp
@@ -1,8 +1,8 @@
akismet_file = Rails.root.join('config', 'akismet')
if akismet_file.exist?
Cyclescape::Application.config.rakismet.key = akismet_file.read.strip
Cyclescape::Application.config.rakismet.url = 'http://www.cyclescape.org/'
Cyclescape::Application.config.rakismet.url = 'http://www.cyklistesobe.cz/'
elsif ['development', 'test'].include? Rails.env
Cyclescape::Application.config.rakismet.key = 'development'
Cyclescape::Application.config.rakismet.url = 'http://www.cyclescape.org/'
end
Cyclescape::Application.config.rakismet.url = 'http://www.cyklistesobe.cz/'
end

0 comments on commit c7a28ba

Please sign in to comment.