app/controllers/reviews_controller.rb
## This creates a blank review ( = invite )
This creates a blank review ( = invite )
This creates a blank review ( = invite )
def create
    @event = Event.find(params[:event_id])
    @critics = Critic.all
    if @event.creator_id != session[:user_id]
      render 'reviews/access_denied'
    else
      render 'reviews/_invite'
    end
  end
def create @event = Event . find ( params [ :event_id ] ) @critics = Critic . all if @event . creator_id != session [ :user_id ] render 'reviews/access_denied' else render 'reviews/_invite' end end
This creates a blank review ( = invite )
This creates a blank review ( = invite )
#send form with list of members