From 23af34494e223b6c5f0bd150f8d90818c5996442 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Sun, 21 Dec 2014 23:01:21 +0100 Subject: [PATCH] add share on Twitter button --- app/views/inbox/show.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/inbox/show.html.haml b/app/views/inbox/show.html.haml index afce224b..8b948093 100644 --- a/app/views/inbox/show.html.haml +++ b/app/views/inbox/show.html.haml @@ -6,6 +6,8 @@ %h3.panel-title Out of questions? .panel-body %button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'} Get new question + %br + %a.btn.btn-block.btn-primary{href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything?url=#{show_user_profile_path(@user.screen_name)}"} Share on Twitter .panel.panel-default.warning--panel .panel-heading %h3.panel-title Actions