Sha256: 18b330efaa9be9fc1dd73541825c6840dbbad772f13591047ae2f8d2e7ebe09e
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
module Calagator class SiteController < ApplicationController # Raise exception, mostly for confirming that exception_notification works def omfg raise ArgumentError, "OMFG" end # Render something to help benchmark stack without the views def hello render :text => "hello" end def index @overview = Event::Overview.new respond_to do |format| format.html { } format.any { redirect_to events_path(format: params[:format]) } end end # Displays the about page. def about; end def opensearch respond_to do |format| format.xml { render :content_type => 'application/opensearchdescription+xml' } end end def defunct end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calagator-0.0.1.pre1 | app/controllers/calagator/site_controller.rb |