search for: add_rout

Displaying 6 results from an estimated 6 matches for "add_rout".

Did you mean: add_root
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
...b/patches/routeset_ex.rb # Replace "draw" method with following def draw clear! create_theme_routes yield Mapper.new(self) named_routes.install end # In create_theme_routes method - replace named_route with add_named_route - replace connect with add_route So your create_theme_routes should look like this def create_theme_routes add_named_route ''theme_images'', "/themes/:theme/images/:filename", :controller=>''theme'', :action=>''images'' add_named_route ''theme_sty...
2009 Jul 28
2
Basic question map.root question
...8/gems/actionpack-1.13.6/lib/action_controller/routing.rb: 956:in `build'': Illegal route: the :controller must be specified! (ArgumentError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/routing.rb: 1199:in `add_route'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/routing.rb: 1205:in `add_named_route'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8/gems/actionpack-1.13.6/lib/a...
2007 Sep 18
10
Routes
...r/update def update # GET controller/update def index # GET controller/index The standard controller can safely ignore _method (for those of us who do not want emulated PUT and DELETE methods) We can put custom route rules nearer to the actions they effect instead of in a separate file. add_route ''test/:blah'', :index # assigns params[:blah] and routes to test action def test end Duane''s popular regular expression routing can be implemented in an add_route-like controller class method, say, match_route. In the end this will be a tighter, more readable, and m...
2007 Feb 18
2
help with an error with tinymce (installation)
hi, i''m trying to install tinymce following the wiki, so i''ve done svn propedit svn:externals vendor/plugins into the tmp saved tiny_mce <a href="https://secure.near-time.com/svn/plugins/trunk/tiny_mce">https://secure.near-time.com/svn/plugins/trunk/tiny_mce</a> but it say this $ svn propedit svn:externals vendor/plugins svn: Error parsing svn:externals
2008 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost:3000/javascripts and start being
2013 Aug 29
4
linkedin gem
...spatch/routing/mapper.rb:60:in `initialize'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1308:in `new'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1308:in `add_route'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1287:in `decomposed_match'' from /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1269:in `block in match'' from...