cookie_flag
cookie_flag copied to clipboard
[Feature Request] Add `feature_flags` view helper
Hello.
I want to use the feature_flags view helper method like feature_available?.
https://github.com/iguchi1124/cookie_flag/blob/a55047dea7da7e37a9ccebf33d08c51d4da1b79a/lib/cookie_flag/helper.rb#L8-L10
While a controller provides both methods,
https://github.com/iguchi1124/cookie_flag/blob/a55047dea7da7e37a9ccebf33d08c51d4da1b79a/README.md?plain=1#L63
a view provides only feature_available?.
https://github.com/iguchi1124/cookie_flag/blob/a55047dea7da7e37a9ccebf33d08c51d4da1b79a/README.md?plain=1#L77
What do you think?