So, in Rails2, you can configure the route as follows:
resources :users, :as => 'members'
So you still have it users_path, but it matches/members
users_path
/members
Now how do you do this in Rails3? :ashere means a completely different thing, and I cannot find what makes it work as before.
:as
I think you are looking for an option :path:
:path
resources :users, :path => 'members'
Tested in my application, but users_pathstill works, but matches /membersas needed. He does not match /users.
/users
Source: https://habr.com/ru/post/1763847/More articles:left join with empty results when no match is found - sqlUsing static finals in Android activity - androidpassing callback as upload_to to FileField - directoryДиалоговое окно подтверждения в ActionLink с использованием ASP.NET MVC 2 - asp.net-mvccheck if string contains ip address - c #SWT: проверка одновременного нажатия нескольких клавиш - javaIs there a way to specify "initial" values in css abbreviations, for example, padding? - csscustom error response in WCF data services - wcf-data-servicesThe website ignores System.Web.HttpForbiddenHandler and allows the loading of web.config - web-configWhat is the best GUI designer to use with Eclipse? - javaAll Articles