<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
+* [#86] stylesheet link helper
 * [#85] Refactored out Mack::ViewHelpers::HtmlHelpers into Mack::ViewHelpers::HtmlHelpers, Mack::ViewHelpers::FormHelpers and
         Mack::ViewHelpers::linkHelpers
 * [#84] Added Mack::Distributed.lookup(url) to retrieve specific distributed services.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -91,6 +91,15 @@ module Mack
         end
       end
       
+      def stylesheet(name)
+        path = &quot;&quot;
+        path = &quot;#{app_config.mack.distributed_site_domain}&quot; if app_config.mack.distributed_site_domain
+        file_name = &quot;#{name}.css&quot; if !name.ends_with?(&quot;.css&quot;)
+        
+        link = &quot;&lt;link href=\&quot;#{path}/stylesheets/#{file_name}\&quot; media=\&quot;screen\&quot; rel=\&quot;stylesheet\&quot; type=\&quot;text/css\&quot; /&gt;&quot;
+        return link
+      end
+      
     end # LinkHelpers
   end # ViewHelpers
 end # Mack
\ No newline at end of file</diff>
      <filename>lib/mack/view_helpers/link_helpers.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>84de40b7f7dcd83a7705d0d24ca5482e40291efa</id>
    </parent>
  </parents>
  <author>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </author>
  <url>http://github.com/markbates/mack/commit/39356ebcbe258364eb1119f81fda1206f333006d</url>
  <id>39356ebcbe258364eb1119f81fda1206f333006d</id>
  <committed-date>2008-08-12T09:50:37-07:00</committed-date>
  <authored-date>2008-08-12T09:50:37-07:00</authored-date>
  <message>Stylesheet link helper [#86 state:resolved]</message>
  <tree>b474451259230b591b2aaf27e4f94a9d64a20810</tree>
  <committer>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </committer>
</commit>
