Sha256: a843250366aca4e4035895de0a328f5a96fcf9f54151dcc944e536e329c5b398
Contents?: true
Size: 471 Bytes
Versions: 10
Compression:
Stored size: 471 Bytes
Contents
module ActiveTracker class Router def self.load Rails.application.routes.draw do namespace ActiveTracker::Configuration.mountpoint, as: "active_tracker", module: "active_tracker" do root 'dashboard#index' ActiveTracker::Configuration.plugins.each do |plugin| resources plugin.resources_name end end end Rails.application.routes.instance_variable_set(:@url_helpers, nil) end end end
Version data entries
10 entries across 10 versions & 1 rubygems