Sha256: 2b3ecb2c00e88d2c164cdae1146baa63f6935310c021ff30a36a309e1a27bce9
Contents?: true
Size: 580 Bytes
Versions: 2
Compression:
Stored size: 580 Bytes
Contents
class Tarquinn::DummyController def self.before_action(_) end include Tarquinn skip_redirection :redirection_path, :route_method redirection_rule :redirection_path, :should_redirect? skip_redirection_rule :redirection_path, :should_skip_redirect? def parse_request perform_redirection end private def params { action: 'show' } end def true true end def false false end def redirection_path '/path' end def redirect_to(_) end def should_redirect? true end def should_skip_redirect? false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tarquinn-0.2.0 | spec/support/models/tarquinn/dummy_controller.rb |
tarquinn-0.1.0 | spec/support/models/tarquinn/dummy_controller.rb |