app/controllers/shares_controller.rb
#"show" controller method takes care of displaying each share detail
"show" controller method takes care of displaying each share detail
" show " controller method takes care of displaying each share detail
def show
  	@share = Share.find(params[:id])
    @reviews = @share.reviews.order(priority: :asc).limit(3)
    @reviewToAlter = @share.reviews.new
  end
def show @share = Share . find ( params [ :id ] ) @reviews = @share . reviews . order ( priority : :asc ) . limit ( 3 ) @reviewToAlter = @share . reviews . new end
"show" controller method takes care of displaying each share detail
" show " controller method takes care of displaying each share detail