{"shas":[["01b444a5e972f1bdf150f89e2554025facf1560c","58692fd42329d32571d999fbcdd2ddd08a5186db@t37.net","Loading typo_* plugins custom routes first as a way to have enhanced plugins without adding routes to the original rouging file.\n\nWhen on Rails 2.x, I was using\n\nclass << ActionController::Routing::Routes;self;end.class_eval do\n define_method :clear,s lambda {}\nend\n\nActionController::Routing::Routes.draw do |map|\n map.connect '/gallery/:action', :controller => 'typo_gallery'\nend\n\nin the plugin init, but it seems not to work anymore, so this is the best way I found to do so.\n\nExample of a working plugin: https://github.com/fdv/typo-gallery","Frederic de Villamil"]],"repo":"fdv/typo","actor":"fdv","ref":"refs/heads/master","size":1,"head":"01b444a5e972f1bdf150f89e2554025facf1560c","actor_gravatar":"700f9a3b883e6a04d018f48290b1a3fd","push_id":28519933}