Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Feature #16

Open
argerim opened this issue May 11, 2018 · 1 comment
Open

Active Feature #16

argerim opened this issue May 11, 2018 · 1 comment

Comments

@argerim
Copy link

argerim commented May 11, 2018

Hey man

Can u help me ?

Im creating rails g chili:feature bureau

And

Add one view juridical/proposal/show.html.erb in folder lib/chili/bureau_feature/app/views/juridical/proposals/show.html.erb

My class engine i set tu false

module BureauFeature
extend Chili::Base
active_if { false } # edit this to activate/deactivate feature at runtime
end

More keep displaying

I, [2018-05-11T14:03:23.556379 #8206] INFO -- : Rendered lib/chili/bureau_feature/app/views/juridical/proposals/show.html.erb within layouts/juridical/application (230.6ms)

@balvig
Copy link
Owner

balvig commented May 14, 2018

Just to confirm, have you rebooted rails / made sure Spring was restarted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants