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