From 5ce584a75a82e9153ba4c0952a4c60ce66d2348f Mon Sep 17 00:00:00 2001 From: Manson Wang Date: Wed, 12 Feb 2014 12:16:05 +0800 Subject: [PATCH] ntu_ga_subscription --- app/helpers/orbit_backend_helper.rb | 2 +- built_in_extensions.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/helpers/orbit_backend_helper.rb b/app/helpers/orbit_backend_helper.rb index ba2a87e..442249d 100644 --- a/app/helpers/orbit_backend_helper.rb +++ b/app/helpers/orbit_backend_helper.rb @@ -355,7 +355,7 @@ module OrbitBackendHelper if object.is_a?(klass.constantize) autorized ||= object.user_can_sub_manage?(current_user) else - autorized ||= object.send(klass.underscore).user_can_sub_manage?(current_user) + autorized ||= object.send(klass.underscore).user_can_sub_manage?(current_user) rescue nil end autorized end diff --git a/built_in_extensions.rb b/built_in_extensions.rb index 7d82d35..abc2862 100644 --- a/built_in_extensions.rb +++ b/built_in_extensions.rb @@ -19,3 +19,5 @@ gem 'web_resource', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-web gem 'ask', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-ask.git', :branch => 'ntu_ga' gem 'survey', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-survey.git', :branch => 'ntu_ga' gem 'archive', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-archive.git', :branch => 'ntu_ga' +gem 'faq', '0.0.1', :git => "git@gitlab.tp.rulingcom.com:root/orbit-faq.git" +gem 'feed', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-feed.git'