Sha256: 1939b15d8c3e513c8ca88c56c572ce136570cf5367641128a7c3a029f8c4dc65

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

class ActiveApplication::UserResourceController < ActiveApplication::ResourceController
  defaults route_prefix: ""
  before_filter :exclude_fields

  def exclude_fields
    @exclude_fields = %w(user_id)
  end

  protected
  
  def begin_of_association_chain
    current_user
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_application-0.2.0 app/controllers/active_application/user_resource_controller.rb
active_application-0.1.0 app/controllers/active_application/user_resource_controller.rb
active_application-0.0.1 app/controllers/active_application/user_resource_controller.rb