diff --git a/app/models/category.rb b/app/models/category.rb index 02dca2ac..42d51bc3 100644 --- a/app/models/category.rb +++ b/app/models/category.rb @@ -35,5 +35,4 @@ end # base.define_singleton_method :last do |*args| # all.last - # end ->>>>>>> 87741bf... Location - category fixes + # end \ No newline at end of file diff --git a/config/mongoid.yml b/config/mongoid.yml index bc925ba3..2fa55a36 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -8,7 +8,7 @@ defaults: &defaults development: <<: *defaults - database: demo_site_development + database: test_site test: <<: *defaults database: test_site diff --git a/vendor/built_in_modules/location/app/models/location_info.rb b/vendor/built_in_modules/location/app/models/location_info.rb index 23e87841..df6d80eb 100644 --- a/vendor/built_in_modules/location/app/models/location_info.rb +++ b/vendor/built_in_modules/location/app/models/location_info.rb @@ -1,6 +1,8 @@ class LocationInfo include Mongoid::Document include Mongoid::Timestamps + include OrbitCategory::Categorizable + mount_uploader :file, LocationsUploader diff --git a/vendor/built_in_modules/location/app/views/panel/location/back_end/locations/index.html.erb b/vendor/built_in_modules/location/app/views/panel/location/back_end/locations/index.html.erb index 12d23773..3190012b 100644 --- a/vendor/built_in_modules/location/app/views/panel/location/back_end/locations/index.html.erb +++ b/vendor/built_in_modules/location/app/views/panel/location/back_end/locations/index.html.erb @@ -29,5 +29,5 @@ <%if is_manager? %> -