Sha256: caca85f8d660090dcb479c109ebb16b31fa877f41e210d048b2daf79a7eee125

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

Stored size: 547 Bytes

Contents

module Ramaze
  Log.debug "Default controller invoked"

  ##
  # The default controller that is loaded if no other controllers have been
  # defined.
  #
  # @author Michael Fellinger
  # @since  30-03-2009
  #
  class DefaultController < Ramaze::Controller
    map '/'

    ##
    # Shows an ASCII lobster using Rack::Lobster::LobsterString.
    #
    # @author Michael Fellinger
    # @since  06-04-2009
    #
    def lobster
      require 'rack/lobster'
      respond Rack::Lobster::LobsterString
    end
  end # DefaultController
end # Ramaze

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ramaze-2023.01.06 lib/ramaze/controller/default.rb
ramaze-2012.12.08 lib/ramaze/controller/default.rb
ramaze-2012.12.08b lib/ramaze/controller/default.rb
ramaze-2012.04.14 lib/ramaze/controller/default.rb
ramaze-2012.03.07 lib/ramaze/controller/default.rb
ramaze-2011.12.28 lib/ramaze/controller/default.rb
ramaze-2011.10.23 lib/ramaze/controller/default.rb
ramaze-2011.07.25 lib/ramaze/controller/default.rb