Sha256: c5f324a8b053ec12d60d4c9d46e05f20acf7d4be4de10beac2dc51b720d1fdc6
Contents?: true
Size: 441 Bytes
Versions: 33
Compression:
Stored size: 441 Bytes
Contents
class Admin::CalendarsController < Admin::ResourceController paginate_models before_filter :check_refreshments, :only => [:index, :show] def show @calendar = Calendar.find(params[:id]) @year = params[:year] ? params[:year].to_i : Date.today.year @month = params[:month] ? params[:month].to_i : Date.today.month response_for :singular end protected def check_refreshments Ical.check_refreshments end end
Version data entries
33 entries across 33 versions & 1 rubygems