This commit is contained in:
z9hang 2015-01-16 15:32:33 +08:00
commit b8047bec28
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ class PollController < ApplicationController
}
@poll = Poll.create option
if @poll
respond_to do |format|
format.html{render :layout => 'base_courses'}
end
redirect_to edit_poll_url @poll.id
end
elsif @project
#项目的问卷调查相关代码