summaryrefslogtreecommitdiff
path: root/controller/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'controller/project.rb')
-rw-r--r--controller/project.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/controller/project.rb b/controller/project.rb
new file mode 100644
index 0000000..7b3c073
--- /dev/null
+++ b/controller/project.rb
@@ -0,0 +1,11 @@
+class ProjectController < Controller
+ def initialize(query_builder)
+ @query_builder = query_builder
+ end
+ def index
+ @query_builder.build(FindAllProjects).fetch
+ end
+end
+class FindAllProjects
+
+end