mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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,7 +9,8 @@ module.exports =
|
|||
apply: (webRouter, privateApiRouter, publicApiRouter) ->
|
||||
return unless Settings.enableSubscriptions
|
||||
|
||||
webRouter.get '/user/subscription/plans', SubscriptionController.plansPage
|
||||
if !Settings.disablePlansPage
|
||||
webRouter.get '/user/subscription/plans', SubscriptionController.plansPage
|
||||
|
||||
webRouter.get '/user/subscription', AuthenticationController.requireLogin(), SubscriptionController.userSubscriptionPage
|
||||
|
||||
|
|
Loading…
Reference in a new issue