Sha256: a06f93b6555eee4d94bfe99dffaf84d99e65b356b1b0d62231fce522b1393032
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
<%= Rails.application.class.parent %>::Application.routes.draw do get "pages/home" root :to => 'pages#home' resources :<%= "#{@model}_sessions" %>, as: :user_sessions resources :<%= @models %>, as: :users match 'login' => '<%= "#{@model}_sessions" %>#new', :as => :login match 'logout' => '<%= "#{@model}_sessions" %>#destroy', :as => :logout end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootup-0.0.4.1 | lib/generators/bootup/templates/authentication/routes.rb.erb |
bootup-0.0.4 | lib/generators/bootup/templates/authentication/routes.rb.erb |