Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
app/controllers/api/v1/subnets_controller.rb | ||
---|---|---|
module Api
|
||
module V1
|
||
class SubnetsController < V1::BaseController
|
||
|
||
before_filter :find_resource, :only => %w{show update destroy}
|
||
|
||
api :GET, '/subnets', 'List of subnets'
|
||
... | ... | |
def destroy
|
||
process_response @subnet.destroy
|
||
end
|
||
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines