Skip to content

Commit

Permalink
sad_reports.vueを非vue化
Browse files Browse the repository at this point in the history
  • Loading branch information
hagiya0121 committed Dec 4, 2024
1 parent fe2851a commit 674bff8
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 166 deletions.
13 changes: 0 additions & 13 deletions app/controllers/api/reports/sad_streak_controller.rb

This file was deleted.

102 changes: 0 additions & 102 deletions app/javascript/components/report.vue

This file was deleted.

47 changes: 0 additions & 47 deletions app/javascript/components/sad_reports.vue

This file was deleted.

2 changes: 0 additions & 2 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ import Watches from '../components/watches.vue'
import WatchToggle from '../components/watch-toggle.vue'
import Footprints from '../components/footprints.vue'
import QuestionAnswers from '../components/question-answers.vue'
import SadReports from '../components/sad_reports.vue'
import UserProducts from '../components/user-products.vue'
import ActionCompletedButton from '../components/action-completed-button.vue'
import CourseBooks from '../components/course-books.vue'
Expand All @@ -85,7 +84,6 @@ mounter.addComponent(Watches)
mounter.addComponent(WatchToggle)
mounter.addComponent(Footprints)
mounter.addComponent(QuestionAnswers)
mounter.addComponent(SadReports)
mounter.addComponent(UserProducts)
mounter.addComponent(ActionCompletedButton)
mounter.addComponent(CourseBooks)
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/_sad_emotion_report.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
| のユーザー
hr.a-border
.card-list
div(data-vue="SadReports")
= render partial: 'reports/report', collection: reports, as: :report, locals: { user_icon_display: true, actions_display: false }
1 change: 0 additions & 1 deletion config/routes/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
get 'counts', on: :collection
end
resources :recents, only: %i(index)
resources :sad_streak, only: %i(index)
end
resources :watches, only: %i(index)
namespace "watches" do
Expand Down

0 comments on commit 674bff8

Please sign in to comment.