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