Sha256: ffb9e783ba888007787ab7fb1a16ae70610248f42d59c024af6565f42cc9ca26
Contents?: true
Size: 472 Bytes
Versions: 51
Compression:
Stored size: 472 Bytes
Contents
module Rao module ServiceController::RestServiceUrlsConcern extend ActiveSupport::Concern included do helper_method :new_service_path, :create_service_path end def new_service_path resource_router.send(:url_for, { action: :new, only_path: true }) end def create_service_path resource_router.send(:url_for, { action: :create, only_path: true }) end def resource_router self end end end
Version data entries
51 entries across 51 versions & 1 rubygems