- 15 12月, 2009 3 次提交
-
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
Adding :class option to load_resource so one can customize which class to use for the model - closes #17
-
由 Ryan Bates 提交于
Don't fetch parent of nested resource if *_id parameter is missing so it works with shallow nested routes - closes #14
-
- 14 12月, 2009 8 次提交
-
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
Adding :collection and :new options to load_resource method so we can specify behavior of additional actions if needed.
-
由 Ryan Bates 提交于
turning load and authorize resource methods into class methods which set up the before filter so they can accept additional arguments
-
- 27 11月, 2009 3 次提交
-
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
calling controller's load_resource and authorize_resource from load_and_authorize_resource to maintain backwards compatability, even though it's not the most efficient way
-
由 Ryan Bates 提交于
-
- 26 11月, 2009 4 次提交
-
-
由 Rafael Silva 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
- 20 11月, 2009 1 次提交
-
-
由 Ryan Bates 提交于
-
- 19 11月, 2009 1 次提交
-
-
由 Ryan Bates 提交于
-
- 18 11月, 2009 10 次提交
-
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
- 17 11月, 2009 10 次提交
-
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
moving can definition into ability instance instead of class, this removes ugly instance_exec command
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
-
由 Ryan Bates 提交于
using instance_exec to change scope of can blocks to instance of ability, this is a bit ugly so I may end up using methods instead
-