search for: my_second_control

Displaying 1 result from an estimated 1 matches for "my_second_control".

2008 Sep 02
6
Writing new controllers
...--------------------------------- class MyFirstController < ApplicationController def index render :text => ''<html><body>My First Controller</body></html>'' end end http://192.168.1.1:8080/my_first/ -> all OK! Then, I add: app/controllers/my_second_controller.rb --------------------------------------------------------- class MySecondController < ApplicationController def index render :text => ''<html><body>My Second Controller</body></html>'' end end I open: http://192.168.1.1:8080/my_second/ An...