Froze rails gems
[depot.git] / vendor / rails / actionpack / lib / action_view / helpers / record_identification_helper.rb
1 module ActionView
2 module Helpers
3 module RecordIdentificationHelper
4 # See ActionController::RecordIdentifier.partial_path -- this is just a delegate to that for convenient access in the view.
5 def partial_path(*args, &block)
6 ActionController::RecordIdentifier.partial_path(*args, &block)
7 end
8
9 # See ActionController::RecordIdentifier.dom_class -- this is just a delegate to that for convenient access in the view.
10 def dom_class(*args, &block)
11 ActionController::RecordIdentifier.dom_class(*args, &block)
12 end
13
14 # See ActionController::RecordIdentifier.dom_id -- this is just a delegate to that for convenient access in the view.
15 def dom_id(*args, &block)
16 ActionController::RecordIdentifier.dom_id(*args, &block)
17 end
18 end
19 end
20 end