Skip to content

Instantly share code, notes, and snippets.

View maltyeva's full-sized avatar
🌮
Working from home

Maria Altyeva maltyeva

🌮
Working from home
View GitHub Profile
[
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
{ "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
{ "match_all": true, "key": "is_abbreviation" }
]
},
@maltyeva
maltyeva / Gemfile
Last active September 16, 2019 09:42
Add Navbar for Login/Logout Logic
gem 'bootstrap', '~> 4.3.1'
gem 'simple_form'
before_action :authenticate_user!, except: [:show, :index]
before_action :authenticate_user!, only: [:show, :index]