Sha256: 1c5463e90ff64353fa3a397a3baaa569be1ecd6629d1c15f507e85510770f90f

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

module Rack
  module Blogengine
    class Application
		def self.call(env)
			# Router for map docs to routes
			route = ApplicationRouter.map_route(env, $targetfolder) 
			if route  
				return route["response"] 
			else 
				return [404, {"Content-Type" => "text/html; charset=UTF-8"}, ["Page not found"]] 
			end 
		end                
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-blogengine-0.0.1 lib/rack/blogengine/application.rb