ntu_ga_subscription
This commit is contained in:
parent
72d3fa428d
commit
5ce584a75a
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue