rubystudy/app/controllers/application_controller.rb

8 lines
147 B
Ruby
Raw Normal View History

2019-08-14 11:37:39 +08:00
class ApplicationController < ActionController::Base
protect_from_forgery with::exception
def hello
render html:"Hello,World!"
end
end