ruby on rails - Make a controller -


i've website made in html/css. , i'm starting learn rubyonrails , i'd turn url links controllers. made new controller, , don't know how go forward. got email button made controller mail_controller.rb , want link email adress.

you need not controller, routes that. make sure have on config/routes.rb file route mapping url want controller made.

perhaps may want take @ guides: http://guides.rubyonrails.org/getting_started.html


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -