Sha256: 87a6d63b6f3efd88c6ca03cdec8e4f57355d9d309245513354afc363dc441d50

Contents?: true

Size: 134 Bytes

Versions: 3

Compression:

Stored size: 134 Bytes

Contents

require '../lib/lunetas'

class Redirect
  include Lunetas::Candy
  matches '/'

  def get
    redirect 'http://google.com'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lunetas-0.1.3 examples/redirect.rb
lunetas-0.1.2 examples/redirect.rb
lunetas-0.1.1 examples/redirect.rb