Sha256: 3f3f91a6b2036651377ec0b209370733b066b26f18cbc43bffb579c6f6b25285

Contents?: true

Size: 491 Bytes

Versions: 8

Compression:

Stored size: 491 Bytes

Contents

require_dependency "adherent/application_controller"

module Adherent
  
  # les routes vers payments sont traitées par ce controller quand elles ne sont
  # pas dépendantes d'un membre. 
  # Si elles sont dépendantes d'un membre, alors, le controller est 
  # PaymentsController. Voir le fichier routes.rb
  
  class AllpaymentsController < ApplicationController
    def index
      @payments = @organism.payments.includes(:member, [:reglements=>[:adhesion=>:member]])
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adherent-0.3.13 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.12 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.11 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.10 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.9 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.7 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.6 app/controllers/adherent/allpayments_controller.rb
adherent-0.3.5 app/controllers/adherent/allpayments_controller.rb