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

Version Path
vulgata-0.3.7 test/dummy/app/controllers/vulgata/application_controller.rb
vulgata-0.3.6 test/dummy/app/controllers/vulgata/application_controller.rb
vulgata-0.3.5 test/dummy/app/controllers/vulgata/application_controller.rb
vulgata-0.3.4 test/dummy/app/controllers/vulgata/application_controller.rb
vulgata-0.3.3 test/dummy/app/controllers/vulgata/application_controller.rb
vulgata-0.3.1 test/dummy/app/controllers/vulgata/application_controller.rb