From 8a04249fc146357cff3168ac5b8fbbf9caf52c02 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Mon, 31 Mar 2014 21:01:07 -0300 Subject: [PATCH] Remove unused code --- app/controllers/application_controller.rb | 11 ----------- app/helpers/thickbox_helper.rb | 3 --- 2 files changed, 0 insertions(+), 14 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 389aeea..6e1f0f8 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -55,17 +55,6 @@ class ApplicationController < ActionController::Base !@no_design_blocks && self.class.uses_design_blocks? end - def self.no_design_theme - @no_design_theme - end - def self.uses_design_theme? - !@no_design_theme - end - def uses_design_theme - !@no_design_theme && self.class.uses_design_theme? - end - - # Be sure to include AuthenticationSystem in Application Controller instead include AuthenticatedSystem include PermissionCheck diff --git a/app/helpers/thickbox_helper.rb b/app/helpers/thickbox_helper.rb index d42b8fa..376dd4f 100644 --- a/app/helpers/thickbox_helper.rb +++ b/app/helpers/thickbox_helper.rb @@ -8,7 +8,4 @@ module ThickboxHelper def thickbox_close_button(title) button_to_function(:close, title, 'tb_remove();') end - def thickbox_copy_to_clipboard_button(title) - button_to_function(:'copy-to-clipboard', title, 'tb_copy_to_clipboard();') - end end -- libgit2 0.21.2