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.85 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.84 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.83 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.82 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.81 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.80 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.79 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.78 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.77 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.76 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.75 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.74 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.73 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.72 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.71 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.70 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.69 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.68 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.67 app/controllers/caboose/modal_controller.rb
caboose-cms-0.7.66 app/controllers/caboose/modal_controller.rb