Changed views and routes

used sigular resource for routes
added destroy action in custom domains
made instructions in 'edit/new' and 'show' visually similar
added new action and view for custom domain
This commit is contained in:
shlok007 2017-09-03 15:56:06 +05:30
parent 0494f022d2
commit 7317fc1f9f
10 changed files with 100 additions and 79 deletions

View file

@ -29,7 +29,7 @@
Dashboard
- if can? :edit, @conference
%li
= link_to(admin_conference_conference_domain_path(@conference.short_title)) do
= link_to(admin_conference_domain_path(@conference.short_title)) do
%span.fa.fa-link
Custom domain
- if can? :show, @conference