Files
grecia/app/controllers
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-09-10 17:33:50 +02:00
2018-07-12 10:17:25 -04:00
2017-10-23 21:40:04 +02:00