README.md in feature_gate-0.2.0 vs README.md in feature_gate-0.2.1

- old
+ new

@@ -32,19 +32,17 @@ ### Gating features All gates are closed by default, meaning the features you gate will be hidden until you toggle the gates open. -To gate a part of a page: -In view files (add `# gate-name` after `end` to allow the cleaner executable to remove this line when cleaning the gate out of the files): +To gate a part of a page (add `# gate-name` after `end` to allow the cleaner executable to remove this line when cleaning the gate out of the files): <% FeatureGate::Manager.gate('gate-name') do %> <h1>This is my gated content</h1> <p>I am not seen if the gate is on</p> <% end # gate-name %> To gate an entire page: -In controller actions: def index FeatureGate::Manager.gate_page('gate-name') # 404s if gate is closed end