Merge remote-tracking branch 'origin/ta-entity-create-form-fix'

GitOrigin-RevId: e16167515c1c64bb350751fc1e748b719446a5b3
This commit is contained in:
Douglas Lovell
2019-03-11 11:03:28 +00:00
committed by James Allen
parent 65012e5037
commit 9b6ac8f715
2 changed files with 3 additions and 3 deletions
@@ -69,8 +69,8 @@ module.exports =
# create new entitites
webRouter.get "/entities/:name/create/:id",
AuthorizationMiddlewear.ensureUserIsSiteAdmin,
UserMembershipAuthorization.requirePublisherManagementAccess,
UserMembershipController.new
webRouter.post "/entities/:name/create/:id",
AuthorizationMiddlewear.ensureUserIsSiteAdmin,
UserMembershipAuthorization.requirePublisherManagementAccess,
UserMembershipController.create
@@ -7,7 +7,7 @@ block content
.col-md-10.col-md-offset-1
h3 #{entityName} "#{entityId}" does not exists in v2
form(
enctype='multipart/form-data',
enctype='application/json',
method='post',
action=''
)