Sha256: 27458e231f20670ec22450dba16b4e7c24b74ed430e9498de6addfd80522783f

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

generate 'layout:install', 'bootstrap3', '--force'
generate 'layout:devise', 'bootstrap3'

remove_file "app/views/layouts/_navigation_links.html.erb"
create_file "app/views/layouts/_navigation_links.html.slim", <<-EOF
- if user_signed_in?
  li = link_to 'Users', users_path
  li = link_to "Sign out", destroy_user_session_path, method: :delete
- else
  li = link_to "Sign in", new_user_session_path
  li = link_to "Sign up", new_user_registration_path
EOF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crosstie-0.0.7 lib/crosstie/templates/rails_layout.rb