Commit 569e7d59 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira Committed by Robert Speicher

Remove CE/EE params separation structure

parent 39cb8ba7
......@@ -50,20 +50,6 @@ class Admin::ApplicationsController < Admin::ApplicationController
# Only allow a trusted parameter "white list" through.
def application_params
params.require(:doorkeeper_application).permit(application_params_ce << application_params_ee)
end
def application_params_ce
%i[
name
redirect_uri
scopes
]
end
def application_params_ee
%i[
trusted
]
params[:doorkeeper_application].permit(:name, :redirect_uri, :trusted, :scopes)
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment