Skip to content

Commit

Permalink
lint実行
Browse files Browse the repository at this point in the history
  • Loading branch information
motohiro-mm committed Oct 20, 2024
1 parent ecec74c commit 997edab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/remark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Remark < ApplicationRecord
scope :proposals, -> { where(remark_type: 'proposal') }
scope :comments, -> { where(remark_type: 'comment') }

after_create_commit -> {
after_create_commit lambda {
broadcast_remove_to [meeting_room, "#{remark_type}s"], target: "#{remark_type}_empty_message"
broadcast_prepend_later_to [meeting_room, "#{remark_type}s"], partial: "remarks/#{remark_type}", locals: { remark: self }, target: "#{remark_type}s"
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/meeting_rooms/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<span class="flex items-center justify-around text-xl w-24"><%= image_tag('pages/meal.svg', class: 'page-icon text-center') %>候補</span>
</h2>
<div class="inner">
<%= render 'remarks/proposals', meeting_room: @meeting_room, proposals: @proposals%>
<%= render 'remarks/proposals', meeting_room: @meeting_room, proposals: @proposals %>
</div>
</div>
<div class="mt-6">
Expand Down

0 comments on commit 997edab

Please sign in to comment.