diff --git a/Gemfile b/Gemfile index 7fce64e..d81643d 100755 --- a/Gemfile +++ b/Gemfile @@ -75,3 +75,5 @@ group :development, :test do gem 'factory_girl_rails' gem 'rspec-rails' end + +gem "simple_calendar", "~> 0.1.9" diff --git a/app/controllers/calentries_controller.rb b/app/controllers/calentries_controller.rb index 89990cd..3452d72 100644 --- a/app/controllers/calentries_controller.rb +++ b/app/controllers/calentries_controller.rb @@ -18,7 +18,7 @@ class CalentriesController < ApplicationController respond_to do |format| format.html # show.html.erb format.json { render json: @calentry } - format.ics { render 'show.ics.erb',} + format.ics { render 'show.ics.erb'} end end diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb index efadc5a..8778ca8 100644 --- a/app/views/calendars/show.html.erb +++ b/app/views/calendars/show.html.erb @@ -9,7 +9,16 @@ Public: <%= @calendar.public %>

+

+