diff options
author | abcang <abcang1015@gmail.com> | 2018-04-17 22:23:46 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-17 15:23:46 +0200 |
commit | 897199910fc29d17b4a019b6ee2473e138d777a2 (patch) | |
tree | 21eceb5c6212f770c876755e5f901469892ce3ce /app/controllers/api/web/embeds_controller.rb | |
parent | 204d72fbe49b3749e168ed2cd0ff83706946352a (diff) |
Improve web api protect (#6343)
Diffstat (limited to 'app/controllers/api/web/embeds_controller.rb')
-rw-r--r-- | app/controllers/api/web/embeds_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/web/embeds_controller.rb b/app/controllers/api/web/embeds_controller.rb index 2ed516161..f2fe74b17 100644 --- a/app/controllers/api/web/embeds_controller.rb +++ b/app/controllers/api/web/embeds_controller.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class Api::Web::EmbedsController < Api::BaseController +class Api::Web::EmbedsController < Api::Web::BaseController respond_to :json before_action :require_user! |