Created
August 17, 2014 08:30
-
-
Save aishek/8b3b619178c0b653c6e1 to your computer and use it in GitHub Desktop.
can? example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/views/layouts/application.html.slim | |
doctype html | |
html | |
head | |
title Hello, world! | |
body | |
= render 'cart' if can? :buy | |
= yield |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment