Skip to content

Commit 032fa11

Browse files
committed
link_to event/staff/proposal page from admin/user
because event/proposal page can be viewed from the submitters only, and thus it usually ends up with "You are not an invited speaker for the proposal you are trying to access." error.
1 parent a5a8b66 commit 032fa11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/admin/users/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- talks.each do |proposal|
2525
%tr
2626
%td= link_to event.name, event
27-
%td= link_to proposal.title, [proposal.event, proposal]
27+
%td= link_to proposal.title, [proposal.event, :staff, proposal]
2828
%td= proposal.state
2929
%td= truncate(proposal.abstract, length: 80)
3030

0 commit comments

Comments
 (0)