class StaticController

The Controller that renders static pages

It looks for a a template matching the path provided.

Public Instance Methods

show() click to toggle source
# File lib/ecrire/app/controllers/static_controller.rb, line 7
def show
  render "static/#{params[:view].to_s}"
end