Skip to content
Browse files

Merge pull request #77 from niklas/patch-1

fix translation-missing in rails 4
  • Loading branch information...
2 parents 6bb6be5 + d091b31 commit 4c06fd3755f68ff93578dabd43cb4d225cac2191 @rafaelfranca rafaelfranca committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/responders/flash_responder.rb
View
5 lib/responders/flash_responder.rb
@@ -89,7 +89,10 @@ class << self
self.flash_keys = [ :notice, :alert ]
self.namespace_lookup = false
- self.helper = Object.new.extend(ActionView::Helpers::TranslationHelper)
+ self.helper = Object.new.extend(
+ ActionView::Helpers::TranslationHelper,
+ ActionView::Helpers::TagHelper
+ )
def initialize(controller, resources, options={})
super

0 comments on commit 4c06fd3

Please sign in to comment.
Something went wrong with that request. Please try again.