Created
September 2, 2014 12:11
-
-
Save stabenfeldt/8b8a49b7d580238964cb to your computer and use it in GitHub Desktop.
This file contains 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 characters
class TemplatesController < ApplicationController | |
skip_before_filter :authenticate_user! | |
#skip_authorization_check :template | |
def template | |
render :template => 'templates/' + params[:path], :layout => false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment