Sha256: 3ae391b0abddb175532c9dab31425391e25c32ee582fd8089d1088fc18403b9e

Contents?: true

Size: 272 Bytes

Versions: 10

Compression:

Stored size: 272 Bytes

Contents

class MainController < Controller
  map '/'

  def index
    @applications = Application.all
  end

  def notfound
    # Note: workaround for ramaze 2009.07
    # response.status = 404
    
    @message = flash[:error] || "The page you requested is not found."
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-station-0.1.6 controller/main.rb
ruby-station-0.1.5 controller/main.rb
ruby-station-0.1.4 controller/main.rb
ruby-station-0.1.4.rc3 controller/main.rb
ruby-station-0.1.4.rc2 controller/main.rb
ruby-station-0.1.4.rc1 controller/main.rb
ruby-station-0.1.3 controller/main.rb
ruby-station-0.1.2 controller/main.rb
ruby-station-0.1.1 controller/main.rb
ruby-station-0.1.0 controller/main.rb