Rails controller and action helper for views
- copy
controllers_helper.rb
toapp/helpers/controllers_helper.rb
- copy
controllers_helper_spec.rb
tospec/helpers/controllers_helper_spec.rb
namespace?("admin")
controller?("contents", "users")
action?("index")
is_active?(root_path)
is_active?(root_path, "custom-active-css-class")