Changed physical_ticket to plural

This commit is contained in:
rishabhptr 2017-09-26 21:43:18 +05:30 committed by Stella Rouzi
parent 2247231d6e
commit 568d89b620
12 changed files with 10 additions and 10 deletions

View file

@ -40,4 +40,4 @@
.row
.col-md-12
= link_to 'Add Ticket', new_admin_conference_ticket_path, class: 'btn btn-success pull-right'
= link_to 'Tickets Sold', admin_conference_physical_ticket_index_path, class: 'button btn btn-default btn-info pull-right'
= link_to 'Tickets Sold', admin_conference_physical_tickets_path, class: 'button btn btn-default btn-info pull-right'

View file

@ -47,4 +47,4 @@
- else
= link_to 'Unsubscribe', conference_subscriptions_path(conference.short_title), method: :delete, class: 'btn btn-default'
- if current_user && current_user.physical_tickets.by_conference(conference).any?
= link_to "My Tickets", conference_physical_ticket_index_path(conference.short_title), class: 'btn btn-default'
= link_to "My Tickets", conference_physical_tickets_path(conference.short_title), class: 'btn btn-default'