Sha256: 95c4793129fccf488bea7e5d75d3452db67e0e9069432389f45b609654ad33d7

Contents?: true

Size: 225 Bytes

Versions: 24

Compression:

Stored size: 225 Bytes

Contents

class Apiv1::Translations::ShowController < Apiv1::HomeController
  def show
    render json: { translation: _translation }
  end
  private
  def _translation
    @translation ||= Apiv1::Translation.find params[:id]
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cloudrider-0.3.23 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.3.22 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.3.21 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.3.20 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.3.0 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.18 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.15 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.14 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.12 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.11 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.10 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.9 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.8 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.7 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.6 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.5 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.4 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.3 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.2 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.2.1 generica/app/controllers/apiv1/translations/show_controller.rb