From 083b6ace781b21dd92c68ababfc2bc9dfbe30820 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 27 Apr 2015 21:39:46 +0800 Subject: [PATCH] removed mobile settings and also removed bundle update from server --- app/controllers/admin/sites_controller.rb | 3 --- app/views/shared/_side_bar.html.erb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/controllers/admin/sites_controller.rb b/app/controllers/admin/sites_controller.rb index acb8485..967e6e0 100644 --- a/app/controllers/admin/sites_controller.rb +++ b/app/controllers/admin/sites_controller.rb @@ -106,9 +106,6 @@ class Admin::SitesController < OrbitAdminController else result = "success" # Bundler.with_clean_env { `cd #{Rails.root} && bundle update` } - Bundler.with_clean_env { `cd #{Rails.root} && BUNDLE_GEMFILE=built_in_extensions.rb bundle update && bundle` } - Bundler.with_clean_env { `cd #{Rails.root} && BUNDLE_GEMFILE=downloaded_extensions.rb bundle update && bundle` } - end render :text => result diff --git a/app/views/shared/_side_bar.html.erb b/app/views/shared/_side_bar.html.erb index b80fe3d..d27f1c7 100644 --- a/app/views/shared/_side_bar.html.erb +++ b/app/views/shared/_side_bar.html.erb @@ -11,7 +11,7 @@
  • <%= link_to admin_site_site_info_path(current_site), :class => active_for_action('sites', 'site_info') do %><%end%>
  • -
  • <%= link_to admin_site_responsive_setting_path(current_site), :class => active_for_action('sites', 'responsive_setting') do %><%end%>
  • +
  • <%= link_to admin_site_search_engine_path(current_site), :class => active_for_action('sites', 'search_engine') do %><%end%>