Sha256: c423c296c83a22f75d1e9a28f84b0f8cc49d3d6ae537ddb8e737df6d37ca5a4b
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
Rails.application.routes.draw do begin cloudfuji_routes if Cloudfuji::Platform.on_cloudfuji? # Remove existing authentication routes r = Rails.application.routes r.set.routes.reject! {|r| %w(login logout).include? r.name } r.set.send "clear_cache!" # Setup cloudfuji authentication routes cloudfuji_authentication_routes end rescue => e puts "Error loading the Cloudfuji routes:" puts "#{e.inspect}" end namespace :admin do resources :lead_scoring, :only => :index do post :update, :on => :collection end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffcrm_cloudfuji-0.2.1 | config/routes.rb |
ffcrm_cloudfuji-0.2.0 | config/routes.rb |