From 441929eb740d74610fba29c9f6568aeb0b19710a Mon Sep 17 00:00:00 2001 From: Joshua Milton Date: Wed, 4 Jul 2012 18:39:28 +0800 Subject: [PATCH] Latest code by joshua --- app/controllers/desktop_publications_controller.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/controllers/desktop_publications_controller.rb b/app/controllers/desktop_publications_controller.rb index ca8921b5..7e3b3feb 100644 --- a/app/controllers/desktop_publications_controller.rb +++ b/app/controllers/desktop_publications_controller.rb @@ -11,6 +11,18 @@ class DesktopPublicationsController< ApplicationController render "desktop/journal_pages/add", :layout => false end + def books + render "desktop/books", :layout => false + end + + def books_list + render "desktop/books/list", :layout => false + end + + def books_add + render "desktop/books/add", :layout => false + end + def create_journal Journal.create(user_id: current_user.id, title: "Google") b = Array.new