I''m trying to use a component and getting this error:
uninitialized constant UserAdminController
Extracted source (around line #1):
1: <%= render_component :controller => "user_admin", :action
=> "item_list"
%>
2:
3: <div id="right">
4: <%= start_form_tag :action => ''create'' %>
The code looks like this in the controller:
def item_list
@user_account_pages, @user_accounts = paginate :user_account,
:per_page => 20
render :layout => false
end
Any ideas what I''m doing wrong?
Thanks.
** Disregard this - I forgot to put the right path in the controller name!!
**
I''m trying to use a component and getting this error:
uninitialized constant UserAdminController
Extracted source (around line #1):
1: <%= render_component :controller => "user_admin", :action
=> "item_list"
%>
2:
3: <div id="right">
4: <%= start_form_tag :action => ''create'' %>
The code looks like this in the controller:
def item_list
@user_account_pages, @user_accounts = paginate :user_account,
:per_page => 20
render :layout => false
end
Any ideas what I''m doing wrong?
Thanks.