New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E1817: Adding Student Generated Questions to Rubric #1178
Conversation
click_link "TestAssignment" | ||
click_link "Your work" | ||
end | ||
#def signup_topic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can delete the code instead of comment out them.
@participant = AssignmentParticipant.find(params[:id]) | ||
@team = Team.find(@participant.team.id) | ||
if @team.srq_id.nil? then | ||
@questionnaire = Questionnaire.new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questionnaire creation code can use create
instead. And it is unnecessary to use the instance variable. Also, you can make values as parameters, instead of assigning them one by one.
Please put the title of your pull request in the following format: Project ID. Name
for example,
[Project id/Independent study/Issue fix/...]. project name
, eg.,E904. Integrating courses and assignments on Expertiza with Moodle
We suggest you include below information in your pull request: