class ActionDispatch::Routing::Mapper::Resources::Resource
Public Instance Methods
web_dav_actions()
click to toggle source
Returns the available WebDAV HTTP verbs based on Calligraphy
configuration and Rails routing options.
# File lib/calligraphy/rails/mapper.rb, line 109 def web_dav_actions if @only Array(@only).map(&:to_sym) elsif @except Calligraphy.web_dav_actions - Array(@except).map(&:to_sym) else Calligraphy.web_dav_actions end end