Skip to content

Commit 9140307

Browse files
Remove instance variables from details partial
1 parent 02efd22 commit 9140307

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/card_grants/_details.html.erb

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
<span>All categories allowed</span>
7777
<% end %>
7878
</p>
79-
<% if @card_grant.purpose.present? %>
79+
<% if card_grant.purpose.present? %>
8080
<p>
8181
<strong>Purpose</strong>
82-
<span><%= @card_grant.purpose %></span>
82+
<span><%= card_grant.purpose %></span>
8383
</p>
8484
<% end %>
8585
<% if card_grant.keyword_lock.present? %>
@@ -92,7 +92,7 @@
9292
<% if card_grant.pending_invite? %>
9393
<%# Once the user has accepted the invite, these action buttons are shown elsewhere %>
9494
<section>
95-
<%= render partial: "actions", locals: { card_grant: @card_grant } %>
95+
<%= render partial: "actions", locals: { card_grant: } %>
9696
</section>
9797
<% end %>
9898
</div>

0 commit comments

Comments
 (0)