在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1.Setup Ruby on Rails
1 class WelcomeController < ApplicationController
2 def say
3 end
4 end
4) create new 'say.html.erb' file in G:\Study\Ruby\demo1\app\views\welcome, and add html code, 1 <h1>Hello, World!</h1>
5) edit G:\Study\Ruby\demo1\config\routes.rb 1 get "welcome/say" => "welcome#say"
6) visit 'http://localhost:3000/welcome/say' |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论