Consul: Add a feature setting for proposals

Created on 19 Sep 2017  路  1Comment  路  Source: consul/consul

What

Allow admins to deactivate the proposal's section

How

  • Adding a setting for proposals[1]
  • Using a feature_flag[2] in the proposals_controller
  • Using the setting to decide if recommended proposals should be displayed in the home page[3]

[1] https://github.com/consul/consul/blob/master/db/seeds.rb#L72
[2] https://github.com/consul/consul/blob/master/app/controllers/debates_controller.rb#L9
[3] https://github.com/consul/consul/pull/1824

Admin

Most helpful comment

I'll handle this one.

>All comments

I'll handle this one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bertocq picture bertocq  路  7Comments

decabeza picture decabeza  路  4Comments

decabeza picture decabeza  路  4Comments

decabeza picture decabeza  路  3Comments

bertocq picture bertocq  路  7Comments