draper/spec/support/samples
Carlos Antonio da Silva d8779aa11d Include view and helper extensions in current context
Instead of including extensions in hardcoded ActionController::Base, use
the current context from AS on_load hook, which in most cases should be
ActionController::Base, but may change in scenarios such as
ActionController::API (using the rails-api gem).

See spastorino/rails-api#28 for more info.

Closes #212
2012-05-28 09:55:42 -03:00
..
active_model.rb Adds support for ActiveModel::Errors 2012-05-07 23:24:01 -03:00
active_record.rb Adds support for ActiveModel::Errors 2012-05-07 23:24:01 -03:00
application_controller.rb Include view and helper extensions in current context 2012-05-28 09:55:42 -03:00
application_helper.rb add new lines 😓 2012-04-25 23:12:30 +03:00
decorator.rb add new lines 😓 2012-04-25 23:12:30 +03:00
decorator_with_allows.rb If special ActiveModel methods like #id, #errors, and #to_param are defined directly on the decorator, do not redefine them as proxy methods. 2012-05-10 17:50:22 -07:00
decorator_with_application_helper.rb Zomg removing trailing whitespace. 2012-02-13 10:24:31 -05:00
decorator_with_denies.rb Zomg removing trailing whitespace. 2012-02-13 10:24:31 -05:00
decorator_with_multiple_allows.rb Add forgotten sample file 2012-02-13 16:06:46 +01:00
decorator_with_special_methods.rb Add missing file 2012-05-10 17:54:31 -07:00
namespaced_product.rb add namespaced samples 2011-11-01 01:55:20 +08:00
namespaced_product_decorator.rb Resolving load-order issue on CI 2011-11-30 11:25:25 -05:00
non_active_model_product.rb Adds support for ActiveModel::Errors 2012-05-07 23:24:01 -03:00
product.rb Makes decorates_association work transparently with Plain Old Ruby Objects. 2012-03-13 22:26:54 -03:00
product_decorator.rb Move spec/samples to spec/support/samples 2011-10-24 11:48:53 -06:00
some_thing.rb Adding a :polymorphic option to decorates_association 2012-03-08 14:21:26 +01:00
some_thing_decorator.rb Adding a :polymorphic option to decorates_association 2012-03-08 14:21:26 +01:00
specific_product_decorator.rb add new lines 😓 2012-04-25 23:12:30 +03:00
widget.rb Allow decorators to be inferred (Take 3) 2011-11-09 21:31:48 -06:00
widget_decorator.rb Allow decorators to be inferred (Take 3) 2011-11-09 21:31:48 -06:00