From 451b7acad86939eef7cd2d434c57bcbeeb9ccae1 Mon Sep 17 00:00:00 2001 From: Tomohiko Himura Date: Fri, 20 Dec 2013 11:29:17 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88=E3=81=9A?= =?UTF-8?q?=20Twitter=20Widget=20=E8=A1=A8=E7=A4=BA=E3=81=97=E3=81=A8?= =?UTF-8?q?=E3=81=8F=20#7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > とりあえず表示したら軍団長がいい感じにしてくれるはず --- app/views/application/_twitter_widget.html.erb | 2 ++ app/views/home/index.html.haml | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 app/views/application/_twitter_widget.html.erb diff --git a/app/views/application/_twitter_widget.html.erb b/app/views/application/_twitter_widget.html.erb new file mode 100644 index 0000000..30c5574 --- /dev/null +++ b/app/views/application/_twitter_widget.html.erb @@ -0,0 +1,2 @@ +#daitokaiet に関するツイート + diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 624586e..44719e3 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -31,3 +31,6 @@ %p= link_to 'Github', 'https://github.com/daitokai/daitokaiet', class: 'btn btn-default' - else = link_to 'Twitterでログイン', user_omniauth_authorize_path(:twitter), class: 'btn btn-default' +.row + #twitter_widget.col-xs-12.col-sm-12.col-md-12.col-lg-12 + = render 'twitter_widget', height: 400, width: 1200