Skip to content

Commit

Permalink
using nokogiri
Browse files Browse the repository at this point in the history
  • Loading branch information
thormarius committed Dec 17, 2009
1 parent fdeeb80 commit 3957364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/calendars_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class CalendarsController < ApplicationController

def index
begin
@calendars_atom = Nokogiri::XML(current_user.calendars)
@calendars_atom = Nokogiri::XML(current_user.calendars).to_s
rescue => e
@error = e.message
@calendars_atom = current_user.calendars
Expand Down

0 comments on commit 3957364

Please sign in to comment.