diff --git a/app/controllers/habits_controller.rb b/app/controllers/habits_controller.rb
index bff97460204ac910b0e97f4947dba580708dc37c..6c352eeef0b44bde04a50ee361798d965e6945ae 100644
--- a/app/controllers/habits_controller.rb
+++ b/app/controllers/habits_controller.rb
@@ -1,15 +1,6 @@
 class HabitsController < ApplicationController
-  before_action :set_habit, only: [:show, :edit, :update, :destroy, :track]
-  before_action :user_check, only:[:show,:edit, :update, :destroy, :track]
-
-  # GET /habits or /habits.json
-  def index
-    @habits = Habit.all
-  end
-
-  # GET /habits/1 or /habits/1.json
-  def show
-  end
+  before_action :set_habit, only: [:edit, :update, :destroy, :track]
+  before_action :user_check, only:[:edit, :update, :destroy, :track]
 
   # GET /habits/new
   def new
diff --git a/app/views/habits/index.html.erb b/app/views/habits/index.html.erb
deleted file mode 100644
index c81d344d9c750d43f4792eeaf924e04b4f495334..0000000000000000000000000000000000000000
--- a/app/views/habits/index.html.erb
+++ /dev/null
@@ -1,25 +0,0 @@
-<p id="notice"><%= notice %></p>
-
-<h1>Habits</h1>
-
-<table>
-  <thead>
-    <tr>
-      <th colspan="3"></th>
-    </tr>
-  </thead>
-
-  <tbody>
-    <% @habits.each do |habit| %>
-      <tr>
-        <td><%= link_to 'Show', habit %></td>
-        <td><%= link_to 'Edit', edit_habit_path(habit) %></td>
-        <td><%= link_to 'Destroy', habit, method: :delete, data: { confirm: t('confirm') } %></td>
-      </tr>
-    <% end %>
-  </tbody>
-</table>
-
-<br>
-
-<%= link_to 'New Habit', new_habit_path %>
diff --git a/app/views/habits/show.html.erb b/app/views/habits/show.html.erb
deleted file mode 100644
index 38c33b6ea2dc6d98f028daba7ef4be721fce05f9..0000000000000000000000000000000000000000
--- a/app/views/habits/show.html.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-<p id="notice"><%= notice %></p>
-
-<%= link_to 'Edit', edit_habit_path(@habit) %> |
-<%= link_to 'Back', habits_path %>
diff --git a/app/views/habits/show.json.jbuilder b/app/views/habits/show.json.jbuilder
deleted file mode 100644
index cfe22e33af22e232e9d0ba11793300813c76fb68..0000000000000000000000000000000000000000
--- a/app/views/habits/show.json.jbuilder
+++ /dev/null
@@ -1 +0,0 @@
-json.partial! "habits/habit", habit: @habit