19 Aug
2011
19 Aug
'11
12:37 p.m.
In some control panels I need to redirect all users on https, something like before sub { return redirect 'https://'.request->host.request->request_uri if config->{environment} eq 'production' and not request->env->{HTTP_HTTPS}; [...] }; Is it a good way? My be it's already automated by some flag in config.yml? Additional, I found that password from session_cookie_key is not hidden when error occurs and show_errors: 1. it's a bug, I think. -- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130