diff --git a/app/controllers/admin/ad_banners_controller.rb b/app/controllers/admin/ad_banners_controller.rb index d05622b0..48e8f00e 100644 --- a/app/controllers/admin/ad_banners_controller.rb +++ b/app/controllers/admin/ad_banners_controller.rb @@ -57,6 +57,7 @@ class Admin::AdBannersController < OrbitBackendController def index @ad_banners = AdBanner.all @active = @ad_banners.first + @tags = get_tags end end \ No newline at end of file diff --git a/app/models/site.rb b/app/models/site.rb index 486803e5..9758c187 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -32,9 +32,10 @@ class Site field :title, localize: true field :footer, localize: true field :sub_menu, localize: true + field :terms_of_user, localize: true field :mobile_on, :type => Boolean, :default => false - + belongs_to :design has_many :site_metas, :autosave => true, :dependent => :destroy diff --git a/app/views/admin/sites/site_info.html.erb b/app/views/admin/sites/site_info.html.erb index c0704cb9..9505896a 100644 --- a/app/views/admin/sites/site_info.html.erb +++ b/app/views/admin/sites/site_info.html.erb @@ -61,10 +61,12 @@