fixed test spec and remove uncessary test files
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
class Api::Restaurant::ZoneController < ApplicationController
|
||||
def index
|
||||
end
|
||||
end
|
||||
5
app/controllers/api/restaurant/zones_controller.rb
Normal file
5
app/controllers/api/restaurant/zones_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Api::Restaurant::ZonesController < ActionController::API
|
||||
def index
|
||||
render json: Zone.where("is_active = true")
|
||||
end
|
||||
end
|
||||
@@ -1,2 +0,0 @@
|
||||
<h1>Api::Restaurant::Zone#index</h1>
|
||||
<p>Find me in app/views/api/restaurant/zone/index.html.erb</p>
|
||||
Reference in New Issue
Block a user