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 ...@@ -50,20 +50,6 @@ class Admin::ApplicationsController < Admin::ApplicationController
# Only allow a trusted parameter "white list" through. # Only allow a trusted parameter "white list" through.
def application_params def application_params
params.require(:doorkeeper_application).permit(application_params_ce << application_params_ee) params[:doorkeeper_application].permit(:name, :redirect_uri, :trusted, :scopes)
end
def application_params_ce
%i[
name
redirect_uri
scopes
]
end
def application_params_ee
%i[
trusted
]
end end
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