Works for webrick/redmine 2.3
Limit access by params