Revision 64b920ec
Added by Petr Chalupa almost 12 years ago
- ID 64b920ecb43c9bae0d7978a8b978897ed3b65e32
app/controllers/api/v1/home_controller.rb | ||
---|---|---|
module V1
|
||
class HomeController < V1::BaseController
|
||
|
||
api :GET, "/", "Show available links."
|
||
def index
|
||
end
|
||
|
||
api :GET, "/status/", "Show status."
|
||
def status
|
||
end
|
||
|
Also available in: Unified diff
api v1 - render home#index links from restapi