I am describing what I am trying to accomplish:
I want to create a main welcome page. So I ran script/generate 
admin/welcome. This created welcome controller
Then I wanted to attach this welcome controller to the main 
application.html.erb
In the application.html.erb file I want to show a ‘login’ control and 
two action buttons: ‘suppliers’ and ‘contractors’.  This means somehow I 
have to create three controllers: ‘login’,  ‘suppliers’, and 
‘contractors’.
-  Should  I create all three controllers  under admin?
-  How to connect my welcome controller to these three controllers and 
get to display the application.html.erb file
I do not know if I am thinking in the correct direction also? Please 
help?

Vishwa Rao wrote:
> I am trying to build a main page with a customized view containing login
> control and several 'div with menus and buttons all combined into one
> page. I believe I have to use admin controller. Is there an article that
> shows how to do this?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to