Files
nairobi/config/initializers
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
..
2015-11-03 16:11:09 +01:00
2015-07-15 13:32:13 +02:00
2015-07-15 13:32:13 +02:00
2015-09-03 23:31:14 +02:00
2015-07-15 13:32:13 +02:00
2017-05-11 22:42:43 +02:00
2015-08-29 13:49:32 +02:00
2017-04-03 12:30:57 +02:00
2015-07-15 13:32:13 +02:00
2018-08-13 11:27:49 +02:00
2015-07-15 13:32:13 +02:00