class TemplatesController

Public Instance Methods

file() click to toggle source
this is deprecated in rails 4

caches_page :file

# File lib/generators/angular_velocity/install/templates/templates_controller.rb, line 6
def file
  @path = params[:path]
  render :file => "app/assets/javascripts/<%= application_name %>/views/#{@path}" #, :layout => nil
end