Sha256: 8ab34e43ec0c06221d2be589567de50955493196399d6c18425fe8fa8c9761b4

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

module Knitkit
  class MobileController < ::ErpApp::ApplicationController

    before_filter :set_website

    def index
    end

    protected
    def set_website
      @website = Website.find_by_host(request.host_with_port)
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
knitkit-3.2.0 app/controllers/knitkit/mobile_controller.rb
knitkit-3.0.0 app/controllers/knitkit/mobile_controller.rb