Sha256: f585e403debbff4ef954a6907695ba18e7fdabffcb70d3f8f09b12e08e3daa5b
Contents?: true
Size: 346 Bytes
Versions: 33
Compression:
Stored size: 346 Bytes
Contents
class LayersController < ApplicationController #cache layers.json caches_action :index, :cache_path => Proc.new { {:topic => params[:topic], :roles => current_roles.roles} } def index respond_to do |format| format.json { render :json => Layer.list(current_ability, params[:layer_type], params[:topic]) } end end end
Version data entries
33 entries across 33 versions & 1 rubygems