Add mobile calendar view

This commit is contained in:
Dan Rice 2014-04-21 12:09:32 -04:00
parent 03fa8d6091
commit 3c2c0fe065
4 changed files with 17 additions and 0 deletions

View file

@ -13,6 +13,9 @@ class CalendarController < ApplicationController
respond_to do |format|
format.html
format.m {
cookies[:mobile_url]= {:value => request.fullpath, :secure => SITE_CONFIG['secure_cookies']}
}
format.ics {
render :action => 'show', :layout => false, :content_type => Mime::ICS
}