diff app/controllers/tweets_controller.rb @ 116:32c8c150cd80

100% less javascripts
author nanaya <me@myconan.net>
date Sun, 12 Feb 2017 16:59:32 +0900
parents b01b5265e6d1
children 3ff631612493
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb	Sun Feb 12 16:46:26 2017 +0900
+++ b/app/controllers/tweets_controller.rb	Sun Feb 12 16:59:32 2017 +0900
@@ -2,6 +2,7 @@
   before_action :validate_id, :only => :show
 
   def index
+    return try_redirect if params[:id]
   end
 
   def show