search for: schools_controller

Displaying 1 result from an estimated 1 matches for "schools_controller".

2009 Feb 09
3
rendering original view
def create # next statement is original and is removed # @review = Review.new(params[:review]) @school = School.find(params[:school_id]) # @review = @school.reviews.create!(params[:review]) @review = @school.reviews.build(params[:review]) respond_to do |format| if @review.save flash[:notice] = ''Review was successfully created.'' #