Created
December 19, 2015 04:51
-
-
Save snelson/e1c763c3660071a0a641 to your computer and use it in GitHub Desktop.
Revisions
-
Scotty Nelson renamed this gist
Dec 19, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Scotty Nelson created this gist
Dec 19, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ class ApplicationController < ActionController::Base layout :determine_layout private def determine_layout request.headers['X-PJAX'] ? false : "application" end end