Ramaze で HTTP ステータスを返す方法
Ramaze で HTTPステータスを返す方法。 / How to change HTTP status in Ramaze.
require'ramaze' class TestController < Ramaze::Controller map '/' def index response.status = 404 "Error!" end end
Ramaze で HTTPステータスを返す方法。 / How to change HTTP status in Ramaze.
require'ramaze' class TestController < Ramaze::Controller map '/' def index response.status = 404 "Error!" end end