controller/main.rb in ruby-station-0.0.4 vs controller/main.rb in ruby-station-0.1.0
- old
+ new
@@ -3,6 +3,13 @@
def index
@applications = Application.all
end
+ def notfound
+ # Note: workaround for ramaze 2009.07
+ # response.status = 404
+
+ @message = flash[:error] || "The page you requested is not found."
+ end
+
end