Merge remote-tracking branch 'origin/ta-entity-create-form-fix'
GitOrigin-RevId: e16167515c1c64bb350751fc1e748b719446a5b3
This commit is contained in:
committed by
James Allen
parent
65012e5037
commit
9b6ac8f715
@@ -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=''
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user