rubystudy/app/controllers/application_controller.rb

8 lines
148 B
Ruby

class ApplicationController < ActionController::Base
protect_from_forgery #with::exception
def hello
render html:"Hello,World!"
end
end