Sha256: 2e47e7b14a9f6c61440fe1dc9386138f93c672bd26a9ac8302a30789e8b91bf0

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

class ApplicationController < ActionController::Base
    layout :choose_layout

    def choose_layout
      if params[:legacy_layout] == "1"
        
        "application_legacy"
      else
        "application"
      end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jester-data-8.0.0 app/controllers/application_controller.rb