Sha256: e46bf5612045851dc86764294763cb42dd01cb5ccfe7d77a94a3da9ba30a59b8

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

class TemplatesController < ApplicationController
  
  ## this is deprecated in rails 4
  #caches_page :file

  def file
    @path = params[:path]
    render :file => "app/assets/javascripts/<%= application_name %>/views/#{@path}" #, :layout => nil
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_velocity-1.0.0 lib/generators/angular_velocity/install/templates/templates_controller.rb