Sha256: 83de5357926495581157aa448685a24996e52ef34c63837ec669a63070c94f72
Contents?: true
Size: 714 Bytes
Versions: 2
Compression:
Stored size: 714 Bytes
Contents
module Calagator class SiteController < Calagator::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
calagator-1.0.0.rc2 | app/controllers/calagator/site_controller.rb |
calagator-1.0.0.rc1 | app/controllers/calagator/site_controller.rb |