From 246e7ec3edf242bc3ab536453c4ceb0bffa19f4a Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Fri, 3 Mar 2017 10:46:21 -0500 Subject: [PATCH] removed unused code --- app/helpers/application_helper.rb | 5 ----- app/helpers/landing_helper.rb | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2e15f26e..fc92ad54 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -46,9 +46,4 @@ module ApplicationHelper def omniauth_login_url(provider) "#{relative_root}/auth/#{provider}" end - - # Whether the current page is the page of a room/meeting or not - def on_room_or_meeting_page? - params[:id].present? - end end diff --git a/app/helpers/landing_helper.rb b/app/helpers/landing_helper.rb index a351c30a..b2b3e74a 100644 --- a/app/helpers/landing_helper.rb +++ b/app/helpers/landing_helper.rb @@ -15,7 +15,5 @@ # with BigBlueButton; if not, see . module LandingHelper - def new_meeting_token - rand.to_s[2..10] - end + end