Skip to content
Snippets Groups Projects
Commit f837cd66 authored by Oswaldo Ferreir's avatar Oswaldo Ferreir Committed by Robert Speicher
Browse files

Use params#require instead params[] access

parent e561b142
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -50,6 +50,6 @@ class Admin::ApplicationsController < Admin::ApplicationController
 
# Only allow a trusted parameter "white list" through.
def application_params
params[:doorkeeper_application].permit(:name, :redirect_uri, :trusted, :scopes)
params.require(:doorkeeper_application).permit(:name, :redirect_uri, :trusted, :scopes)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment