Displaying 1 result from an estimated 1 matches for "my_first_controller".
2008 Sep 02
6
Writing new controllers
I have created new rails-project.
I start Mongrel.
I add to project:
app/controllers/my_first_controller.rb
---------------------------------------------------------
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!
Th...