Revision 14ce02a9
Added by Ondřej Pražák over 8 years ago
app/controllers/api/v1/home_controller.rb | ||
---|---|---|
module Api
|
||
module V1
|
||
class HomeController < V1::BaseController
|
||
before_filter :require_admin
|
||
before_filter :require_admin, :only => [:index]
|
||
|
||
api :GET, "/", "Show available links."
|
||
|
Also available in: Unified diff
Fixes #6854 - Api status allowed for all users
(cherry picked from commit 7267e023e6db34db8ebb3ba59f4be4b8d0e07624)