Merge branch 'Poll' of http://repository.trustie.net/xianbo/trustie2 into Poll
This commit is contained in:
commit
b53686dfd7
|
@ -46,9 +46,7 @@ class PollController < ApplicationController
|
||||||
}
|
}
|
||||||
@poll = Poll.create option
|
@poll = Poll.create option
|
||||||
if @poll
|
if @poll
|
||||||
respond_to do |format|
|
redirect_to edit_poll_url @poll.id
|
||||||
format.html{render :layout => 'base_courses'}
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
elsif @project
|
elsif @project
|
||||||
#项目的问卷调查相关代码
|
#项目的问卷调查相关代码
|
||||||
|
|
Loading…
Reference in New Issue