I am trying to combine Devise with a RESTful user resource using the following code in the routes.rb file:
resources :users, :only => [:index, :show] devi
In the link David Sulc wrote is shown that you should write a prefix to device_for or resources Example:
devise_for :users, :path_prefix => 'my' resources :users
Or your users
devise_for :users scope "/admin" do resources :users end
Both works well for me