Skip to content

Commit

Permalink
Fix a couple of issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanRoberts committed Apr 29, 2016
1 parent 8c5cfde commit db838e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/controllers/tenon/index_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module Tenon
class IndexController < Tenon::BaseController
def index
@warnings = Tenon::WarningGenerator.generate(root_path)
end
end
end
2 changes: 1 addition & 1 deletion app/views/tenon/shared/_draft_controls.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%li.dropdown__item
= link_to new_item_version_path(item_type: class_for(obj), item_id: obj.id), data: { modal_remote: true, modal_handler: 'NewItemVersionHandler', modal_title: 'Save Draft', dropdown_dismiss: true }, class: 'dropdown__action action-icon' do
= i('cloud_upload')
%span Safe Draft
%span Save Draft

%li.dropdown__item
= link_to item_versions_path(item_type: obj.class.to_s, item_id: obj.id), data: { modal_remote: true, modal_handler: 'ItemVersionIndexHandler', modal_title: 'Load Draft', dropdown_dismiss: true }, class: 'dropdown__action action-icon' do
Expand Down

0 comments on commit db838e2

Please sign in to comment.