Skip to content

updates schema, controllers, and views to include demo url, name, description#38

Open
bmwest wants to merge 2 commits intomasterfrom
add-demo-video
Open

updates schema, controllers, and views to include demo url, name, description#38
bmwest wants to merge 2 commits intomasterfrom
add-demo-video

Conversation

@bmwest
Copy link
Copy Markdown
Owner

@bmwest bmwest commented Apr 22, 2017

… description

def authenticate_admin!
unless user_signed_in? && current_user.admin?
redirect_to root_path, notice: "We're sorry, this resource is reserved" +
" exclusively for site admins."
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 2 (not 0) spaces for indenting an expression spanning multiple lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants