Sha256: 41252e8b6199d0b6820863a0a1a4480cc601cc670a55f23f21453b1aed306b95
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
# Remove existing authentication routes r = Rails.application.routes r.set.routes.reject! {|r| %w(login logout).include? r.name } r.set.send "clear_cache!" begin Rails.application.routes.draw do cloudfuji_routes cloudfuji_authentication_routes if Cloudfuji::Platform.on_cloudfuji? end rescue => e puts "Error loading the Cloudfuji routes:" puts "#{e.inspect}" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ffcrm_cloudfuji-0.1.7 | config/routes.rb |
ffcrm_cloudfuji-0.1.6 | config/routes.rb |
ffcrm_cloudfuji-0.1.5 | config/routes.rb |
ffcrm_cloudfuji-0.1.4 | config/routes.rb |