Sha256: 677ce8539250e502c12409fbb9a43115449bac9bd2bc83b2334c99cdc102dbd5

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

class FrontendController < ApplicationController
  def index
    render body: File.read(Rails.root.join('public/frontend/index.html')), content_type: 'text/html'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stoker-1.0.0.pre6 templates/frontend_controller.rb
stoker-1.0.0.pre5 templates/frontend_controller.rb