Files
onemdm-server/app/controllers/apps_controller.rb
leenasn 879a0f49e1 Add API for App Index
- Add tests for unauthorised response for APIs which require authentication
2015-11-23 12:05:45 +05:30

8 lines
131 B
Ruby

class AppsController < ApplicationController
before_action :authenticate_device
def index
render json: App.all
end
end