Sha256: b62e56e8e04443c3214cd2274dd66dfe7d5efb7e6ca3a4eb78370716f9239c62
Contents?: true
Size: 510 Bytes
Versions: 5
Compression:
Stored size: 510 Bytes
Contents
module Api module V1 class HomeController < V1::BaseController before_filter :require_admin 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 def route_error render_error 'route_error', :status => :not_found end end end end
Version data entries
5 entries across 5 versions & 1 rubygems