diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index cec65cda..fb49ae15 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -46,16 +46,6 @@ class TopicsController < ApplicationController end end - # GET showcard/:id - def showcard - @user = current_user - @topic = Topic.find(params[:id]).authorize_to_show(@user) - - respond_to do |format| - format.html { respond_with(@topic, @user) } - end - end - # POST topics def create diff --git a/app/views/topics/showcard.html.erb b/app/views/topics/showcard.html.erb deleted file mode 100644 index ccceea1d..00000000 --- a/app/views/topics/showcard.html.erb +++ /dev/null @@ -1,29 +0,0 @@ -