Module: Decidim::TwitterSearchHelper
- Defined in:
- app/helpers/decidim/twitter_search_helper.rb
Instance Method Summary collapse
-
#twitter_hashtag_url(hashtag) ⇒ String
Builds the URL for Twitter’s hashtag search.
Instance Method Details
#twitter_hashtag_url(hashtag) ⇒ String
Builds the URL for Twitter’s hashtag search.
10 11 12 |
# File 'app/helpers/decidim/twitter_search_helper.rb', line 10 def twitter_hashtag_url(hashtag) format("https://twitter.com/hashtag/%{hashtag}?src=hash", hashtag: hashtag) end |