Sha256: a8909b9a91578cd3416f5ec3ea4cf2ce3ff97f46025a666ed294d0e70d42cd27

Contents?: true

Size: 375 Bytes

Versions: 556

Compression:

Stored size: 375 Bytes

Contents

module Caboose
  class ModalController < Caboose::ApplicationController    
    layout 'caboose/application'
    
    # GET /modal
    def layout
      render 'layouts/caboose/modal', layout: false
    end
    
    # GET /modal/:url
    def index
      @url = "/#{params[:url]}"
      @url << "?#{request.query_string}" if request.query_string      
    end    	
  end  
end

Version data entries

556 entries across 556 versions & 1 rubygems

Version Path
caboose-cms-0.7.23 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.22 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.21 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.20 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.19 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.18 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.17 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.16 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.15 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.14 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.13 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.12 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.11 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.10 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.9 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.8 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.7 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.6 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.5 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.4 app/controllers/caboose/modal_controller.rb