Sha256: 249eceb74c6ce30200f8f1734f9068ef7dded7e85a92f1d0d5d31c6248bbbfa0

Contents?: true

Size: 433 Bytes

Versions: 312

Compression:

Stored size: 433 Bytes

Contents

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

Version data entries

312 entries across 312 versions & 1 rubygems

Version Path
caboose-cms-0.9.229 app/controllers/caboose/modal_controller.rb
caboose-cms-1.0.2 app/controllers/caboose/modal_controller.rb
caboose-cms-1.0.1 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.228 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.227 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.226 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.225 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.224 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.223 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.222 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.221 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.220 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.219 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.218 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.217 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.216 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.215 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.214 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.213 app/controllers/caboose/modal_controller.rb
caboose-cms-0.9.212 app/controllers/caboose/modal_controller.rb