aszlig
0b202580ce
templates: Use uri_for to reference static paths.
...
This commit is provided by (zsh syntax):
sed -i 's|/static[^"]*|[% c.uri_for("&") %]|;s/\[% size %\]/${size}/' **/*.tt
And the reason for this change is to make it easier to change the base
path with headers like X-Request-Base to be served within a URI prefix,
especially when behind a reverse proxy.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-09-25 14:37:18 +02:00
..
2013-09-21 19:25:01 +02:00
2013-05-23 10:45:49 -04:00
2013-04-29 09:54:01 +02:00
2013-02-20 18:26:26 +01:00
2013-09-25 14:37:18 +02:00
2013-04-26 17:51:05 +02:00
2013-09-25 14:37:18 +02:00
2013-09-03 17:35:21 +02:00
2013-09-25 14:37:18 +02:00
2013-08-30 13:53:25 +00:00
2013-09-21 14:57:01 +00:00
2013-09-03 17:35:21 +02:00
2013-09-03 17:35:21 +02:00
2013-09-03 17:35:21 +02:00
2013-02-21 17:27:17 +01:00
2013-04-26 17:51:05 +02:00
2013-04-26 17:51:05 +02:00
2010-09-30 14:29:15 +00:00
2013-08-28 17:40:50 +02:00
2013-09-17 16:39:50 +02:00
2013-09-25 14:37:18 +02:00
2013-09-21 14:57:01 +00:00
2013-02-20 15:54:33 +01:00
2010-09-30 14:29:15 +00:00
2013-09-25 14:37:18 +02:00
2013-02-20 15:54:33 +01:00
2013-09-03 17:35:21 +02:00
2013-04-23 15:23:08 +02:00
2013-03-04 16:03:04 -05:00
2013-06-25 12:48:25 +02:00
2013-02-20 15:54:33 +01:00
2013-05-07 17:04:42 +02:00
2013-02-14 16:51:42 +01:00
2013-02-20 15:54:33 +01:00
2013-09-25 14:37:18 +02:00
2013-09-25 14:37:18 +02:00
2013-07-02 14:00:46 -04:00
2013-02-20 15:54:33 +01:00
2013-06-02 23:30:46 +02:00
2013-02-20 18:26:26 +01:00
2013-04-26 08:51:49 -04:00
2013-07-02 14:00:46 -04:00
2013-02-20 15:54:33 +01:00
2013-09-03 17:35:21 +02:00
2013-09-03 17:35:21 +02:00
2013-03-04 15:25:23 +01:00
2013-02-20 15:54:33 +01:00
2013-09-25 14:37:18 +02:00