Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix indentation for :as option documentation on the namespace method | Ryan Bigg | 2010-11-07 | 1 | -4/+4 |
| | |||||
* | Document the :shallow_path option for scope | Ryan Bigg | 2010-11-07 | 1 | -0/+19 |
| | |||||
* | Indent final comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 |
| | |||||
* | Indent code example for :as option | Ryan Bigg | 2010-11-07 | 1 | -3/+3 |
| | |||||
* | Document the :as option for the scope method | Ryan Bigg | 2010-11-07 | 1 | -0/+10 |
| | |||||
* | Space between module option documentation and path documentation | Ryan Bigg | 2010-11-07 | 1 | -0/+1 |
| | |||||
* | Fix indentation on comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 |
| | |||||
* | Document the :as option for the namespace method | Ryan Bigg | 2010-11-07 | 1 | -0/+8 |
| | |||||
* | Document the :module option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+15 |
| | |||||
* | Document the :path option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+11 |
| | |||||
* | Begin to document the namespace method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+15 |
| | |||||
* | Document the controller method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+6 |
| | |||||
* | Document the defaults method | Ryan Bigg | 2010-11-07 | 1 | -0/+5 |
| | |||||
* | Document the :module and :path options for the scope method. | Ryan Bigg | 2010-11-07 | 1 | -4/+13 |
| | |||||
* | Separate comments and examples with "Examples" header. | Ryan Bigg | 2010-11-07 | 1 | -0/+2 |
| | |||||
* | Fix where the documentation says "photos", but the example shows "posts" or ↵ | Ryan Bigg | 2010-11-07 | 1 | -4/+4 |
| | | | | "comments" by switching both to simply "posts" | ||||
* | Add further documentation + examples for the get, post, put and delete ↵ | Ryan Bigg | 2010-11-07 | 1 | -1/+21 |
| | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers | ||||
* | Refactor resource action scope methods | Andrew White | 2010-10-08 | 1 | -38/+20 |
| | |||||
* | avoid method call to compact | Aaron Patterson | 2010-10-04 | 1 | -4/+4 |
| | |||||
* | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end | ||||
* | Allow mounting engines at '/' | Piotr Sarnacki | 2010-09-30 | 1 | -1/+1 |
| | | | | | Without that commit script_name always become '/', which results in paths like //posts/1 instead of /posts/1 | ||||
* | Use .find here as it is simpler and faster. | José Valim | 2010-09-30 | 1 | -1/+1 |
| | |||||
* | avoid creating a block if possible | Aaron Patterson | 2010-09-29 | 1 | -2/+2 |
| | |||||
* | fixing regexp warnings | Aaron Patterson | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Don't try to interpolate string if there's no interpolation point at all. | Emilio Tagua | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Ensure that named routes do not overwrite previously defined routes. | José Valim | 2010-09-29 | 1 | -10/+13 |
| | |||||
* | Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵ | José Valim | 2010-09-29 | 1 | -1/+5 |
| | | | | everyone calls super as expected. | ||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 2 | -1/+2 |
|\ | |||||
| * | Use redefine_method instead define_method, it may be already defined. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | | |||||
| * | Remove more warnings on variables. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | | |||||
| * | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-27 | 1 | -8/+2 |
| | | |||||
* | | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 1 | -8/+2 |
| | | |||||
* | | Fix tests on 1.9.2. | José Valim | 2010-09-28 | 1 | -5/+0 |
| | | |||||
* | | Properly initialize variables inside the initialize method. | José Valim | 2010-09-27 | 1 | -3/+8 |
|/ | |||||
* | Define @_routes inside method, makes more sense and will be initialized when ↵ | Emilio Tagua | 2010-09-27 | 2 | -2/+1 |
| | | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -4/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 3 | -12/+24 |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | ||||
| * | Initialize @_routes if it doesn't exists. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | | |||||
| * | Remove warning "too many arguments for format string" when interpolating ↵ | Emilio Tagua | 2010-09-27 | 1 | -1/+1 |
| | | | | | | | | with empty hash. | ||||
| * | Initialize @as before plural method is called. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | | |||||
| * | Remove old method before redefining it. | Emilio Tagua | 2010-09-27 | 1 | -0/+2 |
| | | |||||
| * | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 2 | -11/+19 |
| | | |||||
* | | Convert unless/else into if/else. | thedarkone | 2010-09-27 | 1 | -4/+4 |
| | | |||||
* | | Hash#empty? is faster than Enumerable#any? when used on a Hash. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | | |||||
* | | options[:action] is very likely to be nil. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | | |||||
* | | No need to create a separate lambda for each call. | thedarkone | 2010-09-27 | 1 | -15/+14 |
|/ | |||||
* | Refactor routing methods. | Emilio Tagua | 2010-09-22 | 2 | -11/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Raise ArgumentError instead of normalizing controller name when there is a ↵ | Andrew White | 2010-09-18 | 1 | -1/+5 |
| | | | | leading slash [#5651 state:resolved] | ||||
* | Remove leading slash from controller [#5651 state:resolved] | Andrew White | 2010-09-18 | 1 | -1/+1 |
| | |||||
* | Add RouteSet#append | Carl Lerche | 2010-09-17 | 1 | -4/+12 |
| | | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn. |