don't include the controller yet

This commit is contained in:
Connor Turland 2017-02-05 04:15:51 +00:00
parent 2423608fd3
commit 500a74bd5f

View file

@ -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