cycle method added to auto cycle through tweets and exception handling is modified to capture all errors that raise from twitter

This commit is contained in:
AnithaPal 2016-07-27 17:02:40 -04:00
parent f29a15b8e4
commit 881518f1f3
10 changed files with 73 additions and 56 deletions

View file

@ -1,21 +1,16 @@
#main-display
- if @conference.present?
%section#main-heading
.container
.row
.col-md-12.text-center
%h1
= @conference.title
- if @conference.description.present?
%h3
= @conference.description
- if @conference.present?
.row
.col-md-12.text-center
%h1
= @conference.title
- if @conference.description.present?
%h3
= @conference.description
- if @program.present?
%section#event-display
.row
= render 'current_events'
- if @conference.contact.social_tag.present?
%section#tweets-display
- if @tweets.present?
= render 'conference_tweets'
- if @conference.contact.social_tag.present? && @tweets.present?
.row
= render 'conference_tweets'
- if @sponsors.any?
%section#sponsor-display
= render 'sponsors'
= render 'sponsors'