Admin sidebar: show schedule instead of edit

This commit is contained in:
Stella Rouzi 2014-06-28 11:32:17 +03:00
parent 50e75c6dd4
commit 88dcc6a92f
6 changed files with 39 additions and 35 deletions

View file

@ -4,7 +4,7 @@ module Admin
skip_before_filter :verify_authenticity_token, only: [:update]
layout 'schedule'
def show
def edit
if @conference.nil?
redirect_to admin_conference_index_path
return