Sha256: 1db18f8ce7a990e1f3d0b99cce29789f75936b18ed53ff0f6b85177f9b29ba46

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

class ApplicationController < Nyara::Controller
  set_default_layout 'layouts/application'

  def asset_path path
    if Nyara.production?
      Nyara::Config['manifest'][path]
    else
      path
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nyara-0.1.pre.2 lib/nyara/templates/app/controllers/application_controller.rb