Vijay Dev
2642c2961c
copy edit[ci skip]
2012-05-23 22:42:49 +05:30
Henrik Hodne
7eb09aed87
Update documentation for AbstractController::Base
2012-05-20 00:50:22 +02:00
Vijay Dev
b653c29bbe
avoid empty api pages
2012-04-08 01:56:41 +05:30
Santiago Pastorino
4751a699c9
AbstractController.action_methods should return a Set
2012-03-10 18:37:30 -02:00
Alexey Vakhov
eb26af6dd3
Fix AbstractController#controller_path doc
2012-02-19 11:47:39 +04:00
Alexey Vakhov
774e2c4d9c
Fix AbstractController::Base#hidden_actions comment
2012-02-18 11:58:53 +04:00
Sebastian Martinez
fcdb5dc557
Remove extra white spaces on ActionPack docs.
2011-05-23 20:22:33 -03:00
Sebastian Martinez
9899f53184
better styling on #available_action? docs
2011-05-06 14:23:25 -03:00
José Valim
9c2c25c1a1
Revert to old semantics, use available_action? instead of action_method?.
2011-05-06 18:44:18 +02:00
Santiago Pastorino
cc58fe79ac
Implicit actions named not_implemented can be rendered
2011-04-02 23:47:50 -03:00
José Valim
ba51aa0b1b
Make action_method? public and change implicit rendering to override it instead.
2011-03-30 17:22:05 +02:00
Neeraj Singh
3c7a33c051
Rewording existing comment
2010-11-30 10:00:47 -05:00
wycats
8cb2cfbf71
Fix a few bugs when trying to use Head standalone
2010-10-10 00:54:11 -07:00
Aaron Patterson
1d9a219307
oops, missed a uniq
2010-09-29 11:53:34 -07:00
Aaron Patterson
a5f8f59081
dry up action_methods
2010-09-29 11:47:54 -07:00
Joost Baaij
e9eaae1a05
fixed capitalization
2010-08-25 19:51:20 +02:00
Joost Baaij
eaeda503e8
change rdoc to conform to api guidelines
2010-08-25 18:57:27 +02:00
Santiago Pastorino
b451de0d6d
Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;)
2010-08-14 04:12:33 -03:00
Piotr Sarnacki
84f0a0bc30
Reload action_methods in AbstractController after defining new method.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-04 14:44:34 -03:00
José Valim
033e0a041f
ActiveRecord and ActionPack now use the new descendants implementation.
2010-06-19 17:15:21 +02:00
Alan Harper
566967eaf3
Missing method error doesn't specify which controller it is missing from [ #4436 state:resolved]
...
The error page shown when the method you are requesting on a controller
doesn't specify which controller the method is missing from
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-10 20:04:37 +02:00
wycats
e57dbfe6af
Changes made while working on upgrading cells to Rails 3
2010-06-03 23:32:12 +10:00
José Valim
4163ccec23
Clean up the config object in ActionPack. Create config_accessor which just delegates to the config object, reducing the number of deprecations and add specific tests.
2010-04-22 12:00:13 +02:00
José Valim
ffd8d753f1
Move layout lookup to views.
2010-03-08 02:04:18 +01:00
Carl Lerche
9eddc85444
Add a method for configuring abstract controllers
2010-03-04 00:52:10 -08:00
Carl Lerche
13a932cddc
Modifying configurations on the instance of a controller should not affect the class
2010-03-03 21:32:05 -08:00
Carl Lerche
7dbf5c820b
Tweak how ActionPack handles InheritableOptions
2010-03-03 21:29:26 -08:00
Carl Lerche
1f0f05b10c
Move the original config method onto AbstractController
2010-03-03 21:24:27 -08:00
José Valim
bd36418c51
Fix controller_path returnsing an empty string in Ruby 1.8.7 [ #4036 status:resolved]
2010-02-26 11:51:21 +01:00
Joshua Peek
c29bb8857e
Clear out AS callback method pollution in AC::Base.action_methods
2010-01-17 22:06:28 -06:00
Joshua Peek
58fe3295fe
Base#action_methods delegates to Base.action_methods
2010-01-17 21:51:07 -06:00
José Valim
562a00ba16
@_formats initialization should be AbstractController::Base.
2010-01-04 23:05:28 +01:00
José Valim
38fa0d14a8
controller_path is required by ActionView, so move it up to AbstractController and refactor AbstractController::Layouts.
2009-12-31 18:40:20 -08:00
José Valim
4964d3b02c
Make ActionMailer::Base inherit from AbstractController::Base
...
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-12-22 11:29:06 -08:00
Yehuda Katz
17f66473bc
AC::Head now doesn't have an unfulfilled Rendering dependency, and instead works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
2009-12-20 18:50:54 -08:00
Joshua Peek
70c3e825fc
Fix response_body warning in AC
2009-12-14 16:07:46 -06:00
Joshua Peek
4b4e517bf1
Relocate AbstractController exceptions into their proper parent modules
2009-12-12 18:48:34 -06:00
Yehuda Katz
9408fcd2e8
Create new ActionController::Middleware class that will work as a normal Rack middleware.
...
* This initial implementation is a bit hackish, but it uses a normal middleware API
so it's future-proof when we improve the internals.
2009-08-26 00:18:52 -07:00
Yehuda Katz
71638e6760
Move AbstractController to a top-level component
2009-08-06 22:51:24 -03:00