Plots2: Show powertags to admins only on /tags page

Created on 25 Mar 2019  ·  3Comments  ·  Source: publiclab/plots2

We want to display powertags to only admins and not normal users. So, this can be achieved by filtering out tags which consist : in them.

here's the code for the /tags page - https://github.com/publiclab/plots2/blob/master/app/controllers/tag_controller.rb#L5-L67

Refer #179 for more details.

Ruby enhancement has-pull-request help wanted

Most helpful comment

I'm excited for this one! Will be very useful to the navigability of topics on the website

All 3 comments

I'm excited for this one! Will be very useful to the navigability of topics on the website

Hello, I would like to solve this issue.

Awesome! Looking at your PR now!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  ·  3Comments

first-timers[bot] picture first-timers[bot]  ·  3Comments

jywarren picture jywarren  ·  3Comments

keshavsethi picture keshavsethi  ·  3Comments

grvsachdeva picture grvsachdeva  ·  3Comments