Sha256: 82b2bae941b288f9491b85d0eef5d24964fb6794079b4c5e83331575bb7ff16a

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 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.1 lib/nyara/templates/app/controllers/application_controller.rb