diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 13:03:43 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 13:03:43 -0400 |
commit | e47e83cf6bded3d1924b4d500193e7876833ef83 (patch) | |
tree | 058f011637e67455dcd8451fbfa784b5883c6f69 /app/views/layouts/application.html.haml | |
parent | 528ccde8915cd1ed7a39e137dd4d98869797956a (diff) | |
download | thoughts-e47e83cf6bded3d1924b4d500193e7876833ef83.tar.gz thoughts-e47e83cf6bded3d1924b4d500193e7876833ef83.tar.bz2 thoughts-e47e83cf6bded3d1924b4d500193e7876833ef83.zip |
Created admin panel
Currently allows you to create and edit blogs, including associated records. Uses a WYSIWYG editor that allows uploading images. Also included jQuery :(
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 2a9e2eb..5148df4 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml | |||
@@ -21,6 +21,7 @@ | |||
21 | - if not user_signed_in? | 21 | - if not user_signed_in? |
22 | %li= link_to "Log in", new_user_session_path | 22 | %li= link_to "Log in", new_user_session_path |
23 | - if user_signed_in? | 23 | - if user_signed_in? |
24 | %li= link_to "Admin", admin_url | ||
24 | %li= link_to "Log out", destroy_user_session_path, method: :delete | 25 | %li= link_to "Log out", destroy_user_session_path, method: :delete |
25 | #main | 26 | #main |
26 | %header#banner= link_to "feffernoo.se", root_url | 27 | %header#banner= link_to "feffernoo.se", root_url |