blob: fea8f66b3a3c6324412bfc281746848030c90dd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class ApiKeysController < ChouetteController
defaults :resource_class => Api::V1::ApiKey
belongs_to :referential
def create
create! { referential_path(@referential) }
end
def update
update! { referential_path(@referential) }
end
def destroy
destroy! { referential_path(@referential) }
end
end
|