Sha256: f5935469a37158b0f3b763bd17c5d0ade93e3ba1f80d0200172c3c7b7d5f3dd0

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

module Rosetta
  class Locales::TranslationsController < ApplicationController
    include LocaleScoped

    def index
      @pagy, @translation_keys = pagy(scope)

      render "rosetta/locales/translations/index"
    end

    private

    def scope
      TranslationKey.includes(:translation_in_current_locale)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rosetta-rails-0.1.1 app/controllers/rosetta/locales/translations_controller.rb