Sha256: 5e73130cb5c6013efcce7656daf1ae612c7693c9cadee6fd489270ae187ea9f7
Contents?: true
Size: 287 Bytes
Versions: 1
Compression:
Stored size: 287 Bytes
Contents
feature :PersistentFeature do is_persistent adaptations_for PhenomenalRails::Middleware adapt_class :activation_handler do |env| if Rack::Request.new(env).params["activated"] activate_context :TestContext else deactivate_context :TestContext end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phenomenal_rails-1.0.0 | spec/dummy/app/contexts/persistent_feature/persistent_feature.rb |