4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger# Base controller for all API controllers
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornbergerclass Api::V1::Base < ApplicationController
383165a6d7903b0dd3ff5ebaf52f604171ce03bdTim Reddehase ApiKey.valid.where(key: api_key).first.try(:user) if api_key