Skip to content

Commit

Permalink
Remove :css => text leftover code and remove extra warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerry Gleason committed Feb 19, 2013
1 parent be9cdf2 commit f5a9768
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/wagn/renderer.rb
Expand Up @@ -12,7 +12,6 @@ class Renderer

RENDERERS = { #should be defined in renderer
:email => :EmailHtml,
:css => :Text,
:txt => :Text
}

Expand Down
1 change: 0 additions & 1 deletion lib/wagn/sets.rb
Expand Up @@ -231,7 +231,6 @@ def action event, opts={}, &final_action

rescue Exception=>e
controller.send :notify_airbrake, e if Airbrake.configuration.api_key
warn "Card Action Error: #{e.class} : #{e.message}"
Rails.logger.info "\nCard Action Error[#{core_method} #{e.class} : #{e.message}"
Rails.logger.debug " #{e.backtrace*"\n "}"
action_error e, (card && card.name.present? ? card.name : 'unknown card')
Expand Down

0 comments on commit f5a9768

Please sign in to comment.