mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:41:15 +08:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@ -17,7 +17,7 @@ class Admin::ApiController < Admin::AdminController
|
||||
raise Discourse::NotFound if api_key.blank?
|
||||
|
||||
api_key.destroy
|
||||
render nothing: true
|
||||
render body: nil
|
||||
end
|
||||
|
||||
def create_master_key
|
||||
|
Reference in New Issue
Block a user