From 500a74bd5fbde18a00b92a4683fe3d9b993dd097 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 5 Feb 2017 04:15:51 +0000 Subject: [PATCH] don't include the controller yet --- app/controllers/conversations_controller.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 app/controllers/conversations_controller.rb diff --git a/app/controllers/conversations_controller.rb b/app/controllers/conversations_controller.rb deleted file mode 100644 index 35accd64..00000000 --- a/app/controllers/conversations_controller.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true -class ConversationsController < ApplicationController - - def conversation - @maps = map_scope(Map.where.not(name: 'Untitled Map').where.not(permission: 'private')) - - respond_to do |format| - format.html do - # root url => main/home. main/home renders maps/activemaps view. - redirect_to(root_url) && return if authenticated? - respond_with(@maps, @user) - end - format.json { render json: @maps.to_json } - end - end - -end \ No newline at end of file