lost track of what I was doing so I cant tell you what Ive done, heh
This commit is contained in:
@@ -51,4 +51,7 @@ class TutorialsController < ApplicationController
|
||||
def redirects
|
||||
end
|
||||
|
||||
def guard
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -17,4 +17,7 @@ class UsersController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def account_settings
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -11,9 +11,7 @@
|
||||
<span class="caret"></span>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li>
|
||||
<a href="#">
|
||||
account settings
|
||||
</a>
|
||||
<%= link_to "account settings", user_account_settings_path(:user_id => current_user.id) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to "logout", logout_path %>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
A10 Redirects
|
||||
<% end %>
|
||||
</li>
|
||||
<li class="submenu">
|
||||
<li id="submenu" class="submenu">
|
||||
<a href="#" class="selected">
|
||||
<div class="icon">
|
||||
<span class="fs1" aria-hidden="true" data-icon=""></span>
|
||||
@@ -97,7 +97,7 @@
|
||||
</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">Guard</a>
|
||||
<%= link_to "Guard", guard_tutorials_path %>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Session Secret</a>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<div class="dashboard-wrapper">
|
||||
<div class="main-container">
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<div class="title">
|
||||
<span class="fs1" aria-hidden="true" data-icon=""></span> Using Guard with Brakeman and Bundle-Audit
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-body">
|
||||
<iframe src="http://player.vimeo.com/video/63901340" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
function openSub(){
|
||||
$('li[id="submenu"]').addClass('open');
|
||||
};
|
||||
|
||||
$(document).ready(openSub);
|
||||
</script>
|
||||
+2
-1
@@ -9,7 +9,7 @@ resources :sessions do
|
||||
end
|
||||
|
||||
resources :users do
|
||||
|
||||
get "account_settings"
|
||||
end
|
||||
|
||||
resources :tutorials do
|
||||
@@ -24,6 +24,7 @@ resources :tutorials do
|
||||
get "url_access"
|
||||
get "ssl_tls"
|
||||
get "redirects"
|
||||
get "guard"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ ActiveRecord::Schema.define(:version => 20130424220355) do
|
||||
create_table "users", :force => true do |t|
|
||||
t.string "email"
|
||||
t.string "password"
|
||||
t.string "user_id"
|
||||
t.boolean "admin"
|
||||
t.string "first_name"
|
||||
t.string "last_name"
|
||||
|
||||
Reference in New Issue
Block a user