Hi everybody, and first please forgive me for my bad english.
I'm working for few weeks on a RoR project for my professional training,
I have to develop a new app, I have use scaffold to create all the
models, controller and view for each table of my database but now I want
to create a new view which doesn't correspond to any model in my
database because I must be able to write some informations and then fill
my tables.
I try to use rails g controller and then to create manually a view but
after this if i use resources:currentoperations in routes.rb that will
create the routes for new, index _form views but i don't want them.
I also try to use pages.controller where i define for exemple currentop
which is a views in the repertory view/pages/currentop but it seems to
be difficult to define methodes for this view because in routes.rb it's
not define as a resources but like this get
"pages/operation_en_cours"
get "concerns/operation_en_cours"
Is someone have already did things like this ?
Thanks for your help.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/1c2d11dbdae570e726898ed508146ae9%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.