Project

General

Profile

Download (437 Bytes) Statistics
| Branch: | Tag: | Revision:
module Api
module V2
class HomeController < V2::BaseController
before_filter :require_admin
layout false

api :GET, "/", "Show available links."

def index
# we need to load apipie documentation to show all the links.
Apipie.reload_documentation if Apipie.configuration.reload_controllers?
end

api :GET, "/status/", "Show status."

def status
end
end
end
end

(16-16/48)