Sha256: b173d4dfe10009bf883b3c531ca9701adfb3ee467dfa3190920d472ca65f8408
Contents?: true
Size: 370 Bytes
Versions: 6
Compression:
Stored size: 370 Bytes
Contents
module Vulgata class ApplicationController < ActionController::Base include Vulgata::Controller include Vulgata::ControllerConfigurable def vulgata_current_user User.current_user end def vulgata_users User.all end def suggest_translation text, from, to render json: { suggestion: text }, status: :ok end end end
Version data entries
6 entries across 6 versions & 1 rubygems