blob: ab2ac00589dd07ab4423a78ebc5ead2cf64b7b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module Api
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
|