Forum Discussion

saarah's avatar
saarah
Adept
7 years ago

Board subscription option

We want people to really easily see the Subscribe option. Is there any way to take out the subscribe button outside the dropdown.
  • VikasB's avatar
    VikasB
    7 years ago

    saarah

    Ohh you are using it in js. It would not be possible to use restadmin in js.  In this scenario, you have to make a call to the endpoint. Where you can use the restadmin call like this

    <#assign subscribe = restadmin("/boards/id/${board_id}/subscriptions/users/self/add?subscription.type=email") />