1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Vijay Dev
6b9d1a0db2 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	activemodel/lib/active_model/errors.rb
2012-06-30 23:15:22 +05:30
José Valim
5e7d6bba79 Revert "Allow loading external route files from the router"
This reverts commit 6acebb38bc.

Usage of this feature did not reveal any improvement in existing apps.

Conflicts:

	actionpack/lib/action_dispatch/routing/mapper.rb
	guides/source/routing.textile
	railties/lib/rails/engine.rb
	railties/lib/rails/paths.rb
	railties/test/paths_test.rb
2012-06-29 17:44:10 +02:00
Perry Smith
d5badc4513 Fixed example in 1.2 so help will be defined as the text implies 2012-06-24 10:01:46 -05:00
kennyj
c42a7a0082 Support unicode character route in config/routes.rb. 2012-06-16 00:22:16 +09:00
Vijay Dev
313c528e0b copy edit routing guide [ci skip] 2012-06-02 21:46:28 +05:30
schneems
e63666398d routes are viewable in browser (update guides)
From the Pull Request #6461
2012-06-01 16:46:11 +02:00
Ryan Bigg
9122143767 [routing guide] Add mention of get '/:username' route
This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
2012-05-26 16:12:37 +10:00
Rory O’Kane
aa54d29f9b grammar fixes in a tip in Rails routing guide 2012-05-24 11:39:31 -03:00
Uģis Ozols
770c2411da Remove unnecessary ). 2012-04-28 13:31:53 +03:00
Jose and Yehuda
6acebb38bc Allow loading external route files from the router
This feature enables the ability to load an
external routes file from the router via:
  draw :filename

External routes files go in +config/routes+. This
feature works in both engines and applications.
2012-04-25 16:07:17 -05:00
Jose and Yehuda
56cdc81c08 Remove default match without specified method
In the current router DSL, using the +match+ DSL
method will match all verbs for the path to the
specified endpoint.

In the vast majority of cases, people are
currently using +match+ when they actually mean
+get+. This introduces security implications.

This commit disallows calling +match+ without
an HTTP verb constraint by default. To explicitly
match all verbs, this commit also adds a
:via => :all option to +match+.

Closes #5964
2012-04-24 22:52:26 -05:00
Vijay Dev
a5a9fc9afb copy editing [ci skip] 2012-04-01 19:49:36 +05:30
Henrik N
4a26b22b46 Routing guide: document lambda constraints and request argument. 2012-03-28 21:07:12 +02:00
Xavier Noria
6d87cd028b moves the guides up to the root directory 2012-03-17 08:32:49 -07:00
Renamed from railties/guides/source/routing.textile (Browse further)