mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
Don't include Rails.application.routes.url_helpers
in SocialHelper::
It badly trips up things
This commit is contained in:
parent
7be52bb7f2
commit
08a0f2e1ca
2 changed files with 0 additions and 3 deletions
|
@ -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 a new issue