From 1c956e662bb2072fa6e769ec5599dfab6db2c829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 2 Mar 2021 19:38:59 +0100 Subject: Load models and sub-interfaces manually instead I realized that this is more flexible, as it allows the user to comment out whatever models/sub-interfaces they don't want to use. Adding a new model or sub-interface requires a tiny bit more work, but I think it's worth it. --- interfaces/http/web/web.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interfaces/http/web') diff --git a/interfaces/http/web/web.rb b/interfaces/http/web/web.rb index 8ae8afd..ca04ecc 100644 --- a/interfaces/http/web/web.rb +++ b/interfaces/http/web/web.rb @@ -3,4 +3,4 @@ class WebInterface < Sinatra::Base @posts = Post.all erb :index end -end \ No newline at end of file +end -- cgit v1.2.3