app/controllers/styleguide_controller.rb in rails-styleguide-0.0.2 vs app/controllers/styleguide_controller.rb in rails-styleguide-0.0.3

- old
+ new

@@ -19,10 +19,12 @@ end end protected def stylesheets_path id - self.class.config.stylesheets_path[id.to_sym] + config = self.class.config.stylesheets_path[id.to_sym] + raise RoutingError unless config + config end def styleguide id path = stylesheets_path(id) @styleguide = Kss::Parser.new(path)