Method: Impression::FileTree#call

Defined in:
lib/impression/file_tree.rb

#call(req) ⇒ void

This method returns an undefined value.

Responds to a request.



27
28
29
30
31
32
# File 'lib/impression/file_tree.rb', line 27

def call(req)
  return super if @directory.nil?

  path_info = get_path_info(req.resource_relative_path)
  render_from_path_info(req, path_info)
end