mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-06 04:32:22 +00:00
Merge remote-tracking branch 'origin/ta-entity-create-form-fix'
GitOrigin-RevId: e16167515c1c64bb350751fc1e748b719446a5b3
This commit is contained in:
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=''
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue