fix map controller create spec

This commit is contained in:
Devin Howard 2016-09-23 18:20:06 +08:00
parent 5e180ac10e
commit b722d2d3b0

View file

@ -183,7 +183,7 @@ class MapsController < ApplicationController
end
def create_map_params
params.require(:map).permit(:name, :desc, :permission)
params.permit(:name, :desc, :permission)
end
def update_map_params