[logaling-commit] logaling/logaling-server [master] Fix post url

Zurück zum Archiv-Index

SHIMADA Koji null+****@clear*****
Wed Sep 26 18:23:57 JST 2012


SHIMADA Koji	2012-09-26 18:23:57 +0900 (Wed, 26 Sep 2012)

  New Revision: 737c047977ffe711f97fd5ed77b177a43dea44e4
  https://github.com/logaling/logaling-server/commit/737c047977ffe711f97fd5ed77b177a43dea44e4

  Merged 25ab096: Merge branch 'apply-design' of github.com:logaling/logaling-server into apply-design

  Log:
    Fix post url

  Modified files:
    app/views/terms/_form.html.haml

  Modified: app/views/terms/_form.html.haml (+1 -1)
===================================================================
--- app/views/terms/_form.html.haml    2012-09-26 18:22:45 +0900 (e15a78a)
+++ app/views/terms/_form.html.haml    2012-09-26 18:23:57 +0900 (b6f06b3)
@@ -1,4 +1,4 @@
-= form_for @term, url: {action: 'create'}, :html => { :class => 'form-horizontal' } do |f|
+= form_for @term, url: user_glossary_terms_path(current_user, @user_glossary), :html => { :class => 'form-horizontal' } do |f|
   -if****@term*****?
     #error_explanation
       %h2= "#{pluralize(@term.errors.count, "error")} prohibited this term from being saved:"
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index