| Module | InheritedResources::DSL |
| In: |
lib/inherited_resources/dsl.rb
|
Allows controllers to write actions using a class method DSL.
class MyController < InheritedResources::Base
create! do |success, failure|
success.html { render :text => "It works!" }
end
end