Apply new 'lang_' function for real ActionResult's #91

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@jgordor
jgordor commented Mar 17, 2012

This respects the specs documented:

  • The lang_ function is called in real ActionResult
  • The [{"Content-Language", "xx"}] set in controllers actions take precedence over the lang_ function (overwrite's it)

Best

@evanmiller
Collaborator

Good catch, thanks. I went ahead and implemented this a bit differently. Try this:

5d75c74

@jgordor
jgordor commented Mar 18, 2012

Thanks Evan

@jgordor jgordor closed this Mar 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment