about summary refs log tree commit diff stats
path: root/app/controllers/entries_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/entries_controller.rb')
-rw-r--r--app/controllers/entries_controller.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/entries_controller.rb b/app/controllers/entries_controller.rb new file mode 100644 index 0000000..89d06c0 --- /dev/null +++ b/app/controllers/entries_controller.rb
@@ -0,0 +1,7 @@
1class EntriesController < ApplicationController
2
3 def show
4 @entry = Entry.where(directory: params[:directory], slug: params[:slug]).first
5 end
6
7end