Rapide correction pour les tweets

This commit is contained in:
echarp 2014-10-05 11:49:39 +02:00
parent 9e8a65856e
commit dc3e3ebb20
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class ModerationsController < ApplicationController
config.access_token = ENV['TWITTER_ACCESS_TOKEN']
config.access_token_secret = ENV['TWITTER_ACCESS_SECRET']
end
client.update "#{@event.to_tweet url}" if client.consumer_key
client.update "#{@event.to_tweet events_url(@event)}" if client.consumer_key
end
def send_destroy_mails