mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 01:23:24 -05:00
Louis | Change copy to make actions more clear
This commit is contained in:
parent
5bfe7365ae
commit
f033485c48
@ -1,3 +1,4 @@
|
||||
class StaticPagesController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
def home; end
|
||||
end
|
||||
|
@ -11,8 +11,6 @@
|
||||
|
||||
<div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><%= link_to "Bikes", bikes_path %></li>
|
||||
<li><%= link_to "Clients", clients_path %></li>
|
||||
<li><%= if current_user
|
||||
link_to "Sign Out", destroy_user_session_path, method: :delete
|
||||
else
|
||||
|
@ -5,10 +5,10 @@
|
||||
- else
|
||||
= link_to "Sign in", new_user_session_path
|
||||
%br
|
||||
= link_to "Bikes", bikes_path
|
||||
= link_to "View All Bikes", bikes_path
|
||||
%br
|
||||
= link_to "Clients", clients_path
|
||||
= link_to "Freecyclery Clients", clients_path
|
||||
%br
|
||||
= link_to "Print Bikes", print_select_bikes_path
|
||||
= link_to "Print Sale Bike Labels", print_select_bikes_path
|
||||
%br
|
||||
= link_to "Agencies", agencies_path
|
||||
= link_to "Freecyclery Agencies", agencies_path
|
||||
|
@ -43,7 +43,7 @@ namespace :db do
|
||||
mechanic: Faker::Name.first_name
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
puts "creating a new user"
|
||||
user = User.new(email: "user@example.com", password: "password").save
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user