Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

allow access to the request method #73

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

benoist
Copy link

@benoist benoist commented Apr 28, 2014

I wanted to preview my templates with a different locale.
To make this process easier I wanted to change the locale based on the locale param.

@hilem
Copy link

hilem commented May 5, 2014

+1

@lukeasrodgers
Copy link

Something like this would be useful for me as well, but as-is, a bunch of specs fail because to_param is undefined.

@lukeasrodgers
Copy link

FWIW, here is an alternate implementation that accomplishes roughly the same, without using to_param. All specs pass, afaict.

CreatorCollabs@8f5669a

@dtaniwaki
Copy link

👍

@dramalho
Copy link

dramalho commented May 9, 2016

👍 it's been a couple of years, I guess the code has settled down nicely no? :)

Honest question, what's up with this repo?

@benoist
Copy link
Author

benoist commented May 9, 2016

I think the latest version included in rails is already sufficient, at least it served my purpose :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants