middleman/middlemanapp.com

Example syntax error

Paxa opened this issue · 0 comments

Paxa commented

Here https://github.com/middleman/middleman-guides/blob/master/source/advanced/custom.html.markdown

class MyFeature < Middleman::Extension
    def initialize(app, options_hash={}, &block)
      super
    end
    alias :included :registered
  end
end

Should be

class MyFeature < Middleman::Extension
  def initialize(app, options_hash={}, &block)
    super
  end
  alias :included :registered
end