search for: admin_index

Displaying 2 results from an estimated 2 matches for "admin_index".

2006 Oct 28
5
Seperate admin and public views using one controller REST CRUD
Hello, I want to seperate my admin and public views but only use one controller. How to seperate layouts ist clear but how can I tell the controller to render the *.rhtml files in views/admin/ when logged in or render the *.rhtml files in views/public/ (for example). Thanks for any help! PS: using REST and CRUD in edge rails --~--~---------~--~----~------------~-------~--~----~ You received
2006 Nov 23
1
Select Tag not working in 1.2rc1
I''m getting the following error message under rc1: ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #54 of app/views/admin/admin_index.rhtml: In my view (* = Line 54): <%=start_form_tag(:action=>"sales_by_author")%> *<%=select("author","id",@authors.collect {|a| [a.name,a.id]})%> <%=submit_tag("Go")%> <%=end_form_tag()%> Part of the trace: C:/INSTAN~2/ruby/lib/r...