summaryrefslogtreecommitdiff
path: root/app/controllers/v1/identities_controller.rb
blob: 4efd1f557e9d917c9b0ebf7389a853751c0029c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module V1
  class IdentitiesController < ApiController
    before_filter :token_authenticate
    before_filter :require_monitor

    def show
      @identity = Identity.find_by_address(params[:id])
      if @identity
        respond_with @identity
      else
        render_not_found
      end
    end

  end
end