Channel Videos Mobile Sites Partial
This commit is contained in:
1 parent
888f41a959
commit
e87c678eb7
14 files changed
+41
-18
No files matched your search
@@ -22,7 +22,7 @@ class Admin::SitesController < OrbitBackendController
|
||||
|
||||
def update
|
||||
if params[:site][:default_locale] && @site.enable_language_detection.eql?(true)
|
||||
Site.update_all({:enable_language_detection => false})
|
||||
Site.update_all({:enable_language_detection => false})
|
||||
elsif params[:site][:enable_language_detection] && @site.default_locale.present?
|
||||
Site.update_all({:default_locale => nil})
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user