mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add flag that can disable plans page
This commit is contained in:
parent
ce60e6941c
commit
034e50760e
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ module.exports =
|
|||
apply: (webRouter, privateApiRouter, publicApiRouter) ->
|
||||
return unless Settings.enableSubscriptions
|
||||
|
||||
if !Settings.disablePlansPage
|
||||
webRouter.get '/user/subscription/plans', SubscriptionController.plansPage
|
||||
|
||||
webRouter.get '/user/subscription', AuthenticationController.requireLogin(), SubscriptionController.userSubscriptionPage
|
||||
|
|
Loading…
Reference in a new issue