Don't include `Rails.application.routes.url_helpers` in `SocialHelper::`
It badly trips up things
This commit is contained in:
parent
7be52bb7f2
commit
08a0f2e1ca
|
@ -1,8 +1,6 @@
|
|||
require 'cgi'
|
||||
|
||||
module SocialHelper::TumblrMethods
|
||||
include Rails.application.routes.url_helpers
|
||||
|
||||
def tumblr_title(answer)
|
||||
asker = if answer.question.author_is_anonymous?
|
||||
APP_CONFIG['anonymous_name']
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'cgi'
|
||||
|
||||
module SocialHelper::TwitterMethods
|
||||
include Rails.application.routes.url_helpers
|
||||
include MarkdownHelper
|
||||
|
||||
def prepare_tweet(answer)
|
||||
|
|
Loading…
Reference in New Issue