1.use rails to create controller
#rails generate controller demo index
it will create demo_controller and first index function
2.run server to confirm demo_controller and index function is ok
#rails server -b 192.168.1.99 -p 3000
3.use browser to indicate the url is ok
http://192.168.1.99:3000/demo/index/
沒有留言:
張貼留言