Sha256: db7a580aebdf0a907a35221635986264a68624279f27c857f96cb8dd7b94f77f

Contents?: true

Size: 192 Bytes

Versions: 9

Compression:

Stored size: 192 Bytes

Contents

# frozen_string_literal: true

class LeadsController < InheritedResources::Base
  private

    def lead_params
      params.require(:lead).permit(:sales_contact_id, :offer, :name)
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_workflow-0.7.3 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.7.2 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.7.1 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.7.0 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.4.4 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.4.3 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.4.2 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.4.1 spec/dummy/app/controllers/leads_controller.rb
rails_workflow-0.4.0 spec/dummy/app/controllers/leads_controller.rb