Correction pour l'url publiée dans twitter
This commit is contained in:
parent
2f677263a0
commit
ef8dd9d4b4
@ -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 events_url(@event)}" if client.consumer_key
|
||||
client.update "#{@event.to_tweet event_url(@event)}" if client.consumer_key
|
||||
end
|
||||
|
||||
def send_destroy_mails
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
%h3=t '.tweet_helper'
|
||||
|
||||
= @event.to_tweet events_url @event
|
||||
= @event.to_tweet event_url @event
|
||||
|
||||
%fieldset
|
||||
%legend
|
||||
|
Loading…
Reference in New Issue
Block a user