From 2bc48e9064c56101d1761a10d8c5badba60d2bbe Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 22 Feb 2016 19:11:07 +0100 Subject: Individual atom entries --- app/controllers/atom_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/controllers/atom_controller.rb') diff --git a/app/controllers/atom_controller.rb b/app/controllers/atom_controller.rb index e0b45c580..f9d8a4582 100644 --- a/app/controllers/atom_controller.rb +++ b/app/controllers/atom_controller.rb @@ -5,6 +5,10 @@ class AtomController < ApplicationController @account = Account.find_by!(id: params[:id], domain: nil) end + def entry + @entry = StreamEntry.find(params[:id]) + end + private def set_format -- cgit