Hello there,

I am using the user and login engine in my application, and it works
perfectly when used in 'normal' controllers, but when used in a controller
like 'admin/general', it does not work properly, because when going to
http://localhost/3000/admin/general I get the following:

Routing Error

Recognition failed for "/admin/user/login"


The admin/general_controller.rb file looks like this:

class Admin::GeneralController < ApplicationController
  before_filter :login_required
  
  def index
  end
End



Is there a smooth way around this without touching the original rails-engine
files?


Thanks and all the best,
-Joerg Battermann

_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to