Files
grecia/spec/support/common_actions
Javi Martín a64a290392 Extract commentable_path to an initializer
By doing so and including it in ActionDispatch::Routing::UrlFor, we make
it available in controllers, helpers and specs, and so we can remove the
duplication we had there with methods dealing with the same problem.

Even if monkey-patching is ugly, using a different module and executing
ActionDispatch::Routing::UrlFor.send(:include, MyModule) wouldn't make
the method available in the controller.
2018-09-17 20:28:55 +02:00
..
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-04 08:55:53 -07:00
2018-06-12 15:11:06 +02:00
2018-06-04 08:55:53 -07:00