Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/builds/tailwind.css

Large diffs are not rendered by default.

63 changes: 0 additions & 63 deletions app/controllers/curator/admin/photo_suggestions_controller.rb

This file was deleted.

51 changes: 0 additions & 51 deletions app/controllers/curator/photo_suggestions_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/helpers/curator_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ def activity_link_path(activity)
curator_audio_tour_path(activity.recordable)
when ContentChange
curator_proposal_path(activity.recordable)
when PhotoSuggestion
curator_photo_suggestion_path(activity.recordable) if respond_to?(:curator_photo_suggestion_path)
end
rescue ActionController::UrlGenerationError
nil
Expand Down
61 changes: 0 additions & 61 deletions app/javascript/controllers/multi_photo_upload_controller.js

This file was deleted.

4 changes: 0 additions & 4 deletions app/models/curator_activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class CuratorActivity < ApplicationRecord
photo_suggested
resource_viewed
login
approve_photo_suggestion
reject_photo_suggestion
update_user
unblock_user
approve_content_change
Expand Down Expand Up @@ -121,8 +119,6 @@ def recordable_description
"Audio Tour: #{recordable.location&.name} (#{recordable.locale})"
when ContentChange
recordable.description
when PhotoSuggestion
"Photo for #{recordable.location&.name}"
else
recordable.class.name
end
Expand Down
1 change: 0 additions & 1 deletion app/models/location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def display_photos
has_many :location_experience_types, dependent: :destroy
has_many :experience_types, through: :location_experience_types
has_many :audio_tours, dependent: :destroy
has_many :photo_suggestions, dependent: :destroy
# A traveller's record of having been somewhere, and of what they photographed
# there, is theirs — no cascade takes it. Retiring a place is the ordinary way
# out of the catalogue and keeps these; destroying one is refused unless the
Expand Down
175 changes: 0 additions & 175 deletions app/models/photo_suggestion.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class User < ApplicationRecord
has_many :content_change_contributions, dependent: :destroy
has_many :curator_reviews, dependent: :destroy
has_many :curator_activities, dependent: :destroy
has_many :photo_suggestions, dependent: :destroy
has_many :moments, dependent: :destroy
has_many :plan_visits, dependent: :destroy
has_many :likes, dependent: :destroy
Expand Down
Loading
Loading