about summary refs log tree commit diff
path: root/app/controllers/atom_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-22 19:11:07 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-22 19:11:07 +0100
commit2bc48e9064c56101d1761a10d8c5badba60d2bbe (patch)
treec186943465a7e455274314c19f4eba892119ede5 /app/controllers/atom_controller.rb
parent1dad72bf13f5e28781a2b2b6654f72624d205576 (diff)
Individual atom entries
Diffstat (limited to 'app/controllers/atom_controller.rb')
-rw-r--r--app/controllers/atom_controller.rb4
1 files changed, 4 insertions, 0 deletions
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