views:

20

answers:

0

I'm trying to install Typus on Rails 3.0. I already had Devise installed and, since Typus consistently gave a routing error with unknown route to .../admin, I uninstalled Devise. This seems to have gotten me further, since browsing to .../admin now redirects to .../admin/dashboard which apparently is where a new installation of Typus is supposed to go.

However, at that point I get this error: "uninitialized constant User" in the source file c:/Ruby192/lib/ruby/gems/1.9.1/bundler/gems/typus-54bf14891d97/app/views/admin/helpers/dashboard/_applications.html.erb in line 14 where the extracted source is

11:     <% @current_user.application(app).each do |model| %>
12: 
13:       <%
14:         klass = model.constantize
15:         klass_human_name = klass.model_name.human.gsub("/", " ").pluralize
16:         admin_items_path = { :controller => "admin/#{klass.to_resource}" }
17:       %>

Any idea where to go from here?