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.2.0 spec/fixtures/project/plugin.rb
stasis-0.2.0.pre spec/fixtures/project/plugin.rb
stasis-0.1.23 spec/fixtures/project/plugin.rb
stasis-0.1.22 spec/fixtures/project/plugin.rb
stasis-0.1.21 spec/fixtures/project/plugin.rb
stasis-0.1.20 spec/fixtures/project/plugin.rb
stasis-0.1.19 spec/fixtures/project/plugin.rb
stasis-0.1.18 spec/fixtures/project/plugin.rb
stasis-0.1.17 spec/fixtures/project/plugin.rb
stasis-0.1.16 spec/fixtures/project/plugin.rb
stasis-0.1.15 spec/fixtures/project/plugin.rb
stasis-0.1.14 spec/fixtures/project/plugin.rb
stasis-0.1.13 spec/fixtures/project/plugin.rb
stasis-0.1.12 spec/fixtures/project/plugin.rb
stasis-0.1.11 spec/fixtures/project/plugin.rb
stasis-0.1.10 spec/fixtures/project/plugin.rb
stasis-0.1.9 spec/fixtures/project/plugin.rb
stasis-0.1.8 spec/fixtures/project/plugin.rb
stasis-0.1.7 spec/fixtures/project/plugin.rb
stasis-0.1.6 spec/fixtures/project/plugin.rb