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.2.0 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.1.3 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.1.2 generica/app/controllers/apiv1/translations/show_controller.rb
cloudrider-0.1.0 generica/app/controllers/apiv1/translations/show_controller.rb