Sha256: 94fe764632f296ace059b96e0dfffbd00ad9acce82a381e730b56fe2b885eb85

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

module HasVcards
  class PhoneNumbersController < ApplicationController
    # Use inherited resources logic
    inherit_resources
    respond_to :html, :js

    # Relations
    optional_belongs_to :vcard

    # Optionally support in place editing
    if respond_to? :in_place_edit_for
      in_place_edit_for :phone_number, :phone_number_type
      in_place_edit_for :phone_number, :number
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-1.1.2 app/controllers/has_vcards/phone_numbers_controller.rb
has_vcards-1.1.1 app/controllers/has_vcards/phone_numbers_controller.rb
has_vcards-1.1.0 app/controllers/has_vcards/phone_numbers_controller.rb
has_vcards-1.0.0 app/controllers/has_vcards/phone_numbers_controller.rb
has_vcards-1.0.0.rc0 app/controllers/has_vcards/phone_numbers_controller.rb