Skip to content

Commit

Permalink
Add readme and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
octaedro committed May 22, 2023
1 parent b769453 commit 5423e4c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
@@ -1,4 +1,4 @@
Significance: minor
Type: fix

Fix RIM rules processor
Add "PrepareUrl" transformer to RIM rules processor
Expand Up @@ -365,4 +365,38 @@ Let's count # of users with `count`

**Output:** 3

## prepare_url

This prepares the site URL by removing the protocol and the last slash.

#### Arguments: N/A

####Definition:

```php
"transformers": [
{
"use": "prepare_url"
}
],
```

#### Example:

Given the following data

```php
$siteurl = "https://mysite.com/"
```

Removes the protocol and the last slash.

```php
"transformers": [
{
"use": "prepare_url",
}
],
```

**Output:** "mysite.com"

0 comments on commit 5423e4c

Please sign in to comment.