app/controllers/apps_controller.rb
# Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .
def app_params
    params.require(:app).permit(
      :internal_name,
      :internal_id,
      :runtime,
      :android_icon,
      :android_firebase,
      :ios_firebase,
      :ios_icon,
      :splash,
      android_config: %i[repository_url publishing_profile bundle_id version_code version_name],
      ios_config: %i[repository_url publishing_profile bundle_id version_code version_name]
    )
  end
def app_params params . require ( :app ) . permit ( :internal_name , :internal_id , :runtime , :android_icon , :android_firebase , :ios_firebase , :ios_icon , :splash , android_config : %i[ repository_url publishing_profile bundle_id version_code version_name ] , ios_config : %i[ repository_url publishing_profile bundle_id version_code version_name ] ) end
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .