Sha256: 0668c9432bd9f80421820c2ce7f25a8fa386dbe999719d8dc8ad9aeffb0f9118

Contents?: true

Size: 236 Bytes

Versions: 26

Compression:

Stored size: 236 Bytes

Contents

class Plugin < Stasis::Plugin

  before_all :plugin

  def initialize(stasis)
  	@stasis = stasis
  end

  def plugin
    @stasis.controller.before("custom_plugin.html") do
      instead "pass"
    end
  end
end

Stasis.register(Plugin)

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
stasis-0.1.5 spec/fixtures/project/plugin.rb
stasis-0.1.4 spec/fixtures/project/plugin.rb
stasis-0.1.3 spec/fixtures/project/plugin.rb
stasis-0.1.2 spec/fixtures/project/plugin.rb
stasis-0.1.1 spec/fixtures/project/plugin.rb
stasis-0.1.0 spec/fixtures/project/plugin.rb