Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # GET /exams/1
- # GET /exams/1.xml
- def show
- @exam = Exam.find(params[:id])
- session[:exam] = @exam
- respond_to do |format|
- format.html # show.html.erb
- format.xml { render :xml => @exam }
- end
- end
Add Comment
Please, Sign In to add comment