Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Helpers
- module Items
- class Nanoc::Item
- alias_method :old_path, :path
- def path(params = { })
- return @site.items.find!(self[:forward]).path if self[:forward]
- old_path(params)
- end
- end
- end
- end
- ###
- Captain! We’ve been hit!
- === MESSAGE:
- SystemStackError: stack level too deep
- === COMPILATION STACK:
- (empty)
- === BACKTRACE:
- 0. somewhere/tmp/gems/ruby/1.9.1/gems/haml-3.1.4/lib/haml/engine.rb:191
Add Comment
Please, Sign In to add comment