Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dogweather committed Jul 17, 2023
1 parent e325634 commit 54a3fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ so we can see what it's caching. This is the line of code that, without AssetRam
would be exectued on every request.


I use it in my footer for social icons as well. I used to have this: (HAML syntax)
I use it in my footer for social icons as well. I **used to** have this: (HAML syntax)

```ruby
- asset = AssetRam::Helper
Expand All @@ -69,7 +69,7 @@ I use it in my footer for social icons as well. I used to have this: (HAML synta
```


But my whole footer partial is static. So I just do this instead in my layout:
But my whole footer partial is static. So now I just do this instead in my layout:

```ruby
= AssetRam::Helper.cache { render 'footer_for_screen' }
Expand Down

0 comments on commit 54a3fc0

Please sign in to comment.