Sha256: 664387e970a3512df63f556c0af52d03059f4aeb4a3128c0a087f9f2166d8305
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
require 'ice' require 'ice/cubeable' require 'ice/cube_association' require 'ice/base_cube' require 'ice/railtie' require 'ice/cube_helpers' require 'rails' require 'ice/handlers/eco/handler' require 'ice/handlers/coffeekup/handler' IceJavascriptHelpers = [] IceCoffeescriptHelpers = [] ActionView::Template.register_template_handler :coffeekup, Ice::Handlers::Coffeekup ActionView::Template.register_template_handler :eco, Ice::Handlers::Eco require "action_controller" Mime::Type.register "text/ice", :ice ActionController::Renderers.add :ice do |object, options| puts "oootototOOOOOOOOOO" puts "rendering with #{object}" puts "rendering to #{object.to_ice.to_json}" self.send_data object.to_ice.to_json, :type => :ice end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ice-0.5.1 | lib/ice.rb |