Files
2012-02-21 01:15:00 -05:00

1 line
1.3 KiB
JSON

[{"user_id": 41657, "stars": [], "topic_id": 46155, "date_created": 1317777102.6033909, "message": "When I build a file, the stylesheet path is always absolute from the root, i.e.:\n\n <link href=\"/stylesheets/styles.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n\nHowever, other references like javascript are relative, e.g. \n\n <script src='javascripts/site.js' type='text/javascript'></script>\n\nIs this something strange I'm doing, or the default and desired behaviour?\n\nIts no big deal because I can preview in server mode, but sometimes its nice to browse the files on disk too, and they (obviously) don't look right without the stylesheet.\n", "group_id": 10410, "id": 2280971}, {"user_id": 7586, "stars": [], "topic_id": 46155, "date_created": 1317781340.6634741, "message": "They should all be absolute by default. To enable relative assets, use the following setting:", "group_id": 10410, "id": 2281519}, {"user_id": 7586, "stars": [], "topic_id": 46155, "date_created": 1317781348.151849, "message": "activate :relative_assets", "group_id": 10410, "id": 2281520}, {"user_id": 7586, "stars": [], "topic_id": 46155, "date_created": 1317781364.7849121, "message": "Of course, you'll need to be using the stylesheet_link_tag and javascript_include_tag helpers for this to work.", "group_id": 10410, "id": 2281526}]