Skip to content

Commit

Permalink
Some typo errors, not caught earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
agmps17 committed May 18, 2014
1 parent ece943a commit 53a29e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -46,7 +46,7 @@ group :development do

# FIXME: for Fedora only
if ((open('/etc/issue').grep(/fedora/i).length > 0) rescue false)
gem "minitest", "~> 4.7.5"
gem "minitest"
end
end

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -100,7 +100,7 @@ GEM
treetop (~> 1.4.8)
mime-types (1.25.1)
mini_portile (0.6.0)
minitest (5.3.3)
minitest (5.3.4)
multi_json (1.10.0)
mysql2 (0.3.16)
nokogiri (1.6.2.1)
Expand Down Expand Up @@ -137,7 +137,7 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.3.1)
rake (10.3.2)
rb-readline (0.5.1)
ref (1.0.5)
request_store (1.0.5)
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/calendar_controller.rb
Expand Up @@ -36,7 +36,7 @@ def remove
FileUtils.rm_rf(".DAV/" + calname + ".dir")
@calendars = Dir["*.ics"]
end
@has_ical = App.where (:name=>'iCalendar').first != nil
@has_ical = App.where(:name => 'iCalendar').first != nil
render :partial => 'calendar/calendar', :collection => @calendars, :locals => { :has_ical => @has_ical }
end

Expand All @@ -52,7 +52,7 @@ def new
end
@calendars = Dir["*.ics"]
end
@has_ical = App.where (:name=>'iCalendar').first != nil
@has_ical = App.where(:name=>'iCalendar').first != nil
render :partial => 'calendar/calendar', :collection => @calendars, :locals => { :has_ical => @has_ical }
end

Expand Down

0 comments on commit 53a29e6

Please sign in to comment.