app/controllers/muck/activities_controller.rb in muck-activities-0.1.15 vs app/controllers/muck/activities_controller.rb in muck-activities-0.1.16

- old
+ new

@@ -137,17 +137,9 @@ def get_activity_html(activity) render_as_html do render_to_string(:partial => "activity_templates/#{activity.template}", :locals => { :activity => activity }) end end - - def render_as_html - last_template_format = @template.template_format - @template.template_format = :html - result = yield - @template.template_format = last_template_format - result - end def find_parent @klass = params[:parent_type].to_s.capitalize.constantize @parent = @klass.find(params[:parent_id]) end \ No newline at end of file