def create_subscription_routes(options = {}, resources_options = [])
        self.resources options[:model], resources_options do
          member do
            post :subscribe                      unless ignore_path?(:subscribe, options)
            post :unsubscribe                    unless ignore_path?(:unsubscribe, options)
            post :subscribe_to_email             unless ignore_path?(:subscribe_to_email, options)
            post :unsubscribe_to_email           unless ignore_path?(:unsubscribe_to_email, options)
            post :subscribe_to_optional_target   unless ignore_path?(:subscribe_to_optional_target, options)
            post :unsubscribe_to_optional_target unless ignore_path?(:unsubscribe_to_optional_target, options)
          end
        end
      end
def create_subscription_routes(options = {}, resources_options = [])
        self.resources options[:model], resources_options do
          member do
            post :subscribe                      unless ignore_path?(:subscribe, options)
            post :unsubscribe                    unless ignore_path?(:unsubscribe, options)
            post :subscribe_to_email             unless ignore_path?(:subscribe_to_email, options)
            post :unsubscribe_to_email           unless ignore_path?(:unsubscribe_to_email, options)
            post :subscribe_to_optional_target   unless ignore_path?(:subscribe_to_optional_target, options)
            post :unsubscribe_to_optional_target unless ignore_path?(:unsubscribe_to_optional_target, options)
          end
        end
      end
Create routes for subscriptions
 @api private

 @param [Symbol] resource Name of the resource model
 @param [Hash] options Passed options from subscribed_by
 @param [Hash] resources_options Options to send resources method