Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Dec 3, 2024
1 parent bd7bda9 commit 2cf0adc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/speaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def fetch_bsky_metadata!
end

def broadcast_header
broadcast_update_to self, target: dom_id(self, :header_content), partial: "speakers/header_content", locals: {speaker: self}
broadcast_update target: dom_id(self, :header_content), partial: "speakers/header_content", locals: {speaker: self}
end

def valid_website_url
Expand Down
4 changes: 2 additions & 2 deletions app/views/events/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</div>

<div class="flex flex-col gap-3 place-items-center">
<%= link_to "Visit Website", @event.website, class: "btn btn-neutral w-full", target: "_blank" %>
<%= link_to "View all #{@event.organisation.name} events", @event.organisation, class: "btn w-full" %>
<%= link_to "Visit Website", event.website, class: "btn btn-neutral w-full", target: "_blank" %>
<%= link_to "View all #{event.organisation.name} events", event.organisation, class: "btn w-full" %>
</div>
</div>

Expand Down

0 comments on commit 2cf0adc

Please sign in to comment.