Skip to content

Commit

Permalink
fixes to admin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
cofiem committed Jul 15, 2016
1 parent 4d99db5 commit d1ef11a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/admin/tag_groups_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def destroy

@tag_group.destroy
respond_to do |format|
format.html { redirect_to admin_tag_groups_path, notice: 'Tag was successfully destroyed.' }
format.html { redirect_to admin_tag_groups_path, notice: 'Tag group was successfully deleted.' }
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/tags/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- url = admin_tags_path
- method = method_new
- elsif action_edit
- url = admin_tags_path
- url = admin_tag_path(@tag)
- method = method_edit

= simple_form_for([:admin, @tag], url: url, html: {class: 'form-horizontal', method: method }) do |f|
Expand Down

0 comments on commit d1ef11a

Please sign in to comment.