Sha256: dccd1243f7d527e2662a8a2b97de39f5849d40d794449998594158a71a1aeba3

Contents?: true

Size: 236 Bytes

Versions: 1

Compression:

Stored size: 236 Bytes

Contents

class TinyRailsController < ActionController::Base
  # Code reloading goodness
  require_dependency 'models'

  append_view_path File.dirname(__FILE__)

  def index
    @model = SampleModel.new
    render :template => 'index'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tiny-rails-0.0.1 templates/tiny_rails_controller.rb