Sha256: 8e7119a980e60ac24a250b526253c8249ce1239301af9a0ad93eaa9b32e88ba8

Contents?: true

Size: 290 Bytes

Versions: 17

Compression:

Stored size: 290 Bytes

Contents

class TestController < ApplicationController
  def app
    if params[:no_prerender]
      render inline: "<%= react_component('App', {}, { prerender: false }) %>",
             layout: 'application'
    else
      render component: 'App', props: {}, layout: 'application'
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hyper-i18n-1.0.alpha1.8 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.7 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.6 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.5 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.4 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.6 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.3 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.5 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.4 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.2 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1.1 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.0.pre.alpha1 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.alpha1 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-1.0.pre.alpha1 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.3 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.2 spec/test_app/app/controllers/test_controller.rb
hyper-i18n-0.99.1 spec/test_app/app/controllers/test_controller.rb