# HG changeset patch
# User nanaya
# Date 1486886372 -32400
# Node ID 32c8c150cd80b621a7ebf8eb0da75949773ac5b0
# Parent c712d307e1979d629e14327762fc6f708ecd700c
100% less javascripts
diff -r c712d307e197 -r 32c8c150cd80 app/controllers/tweets_controller.rb
--- 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
diff -r c712d307e197 -r 32c8c150cd80 app/views/tweets/index.html.erb
--- a/app/views/tweets/index.html.erb Sun Feb 12 16:46:26 2017 +0900
+++ b/app/views/tweets/index.html.erb Sun Feb 12 16:59:32 2017 +0900
@@ -62,7 +62,13 @@