[logaling-commit] logaling/logaling-server [prioritize-the-search] Check authentication before creating user_glossary

Zurück zum Archiv-Index

SHIMADA Koji null+****@clear*****
Tue Sep 25 20:59:58 JST 2012


SHIMADA Koji	2012-09-10 15:05:32 +0900 (Mon, 10 Sep 2012)

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

  Merged c5d082c: Merge pull request #13 from logaling/enable-creating-user-glossary

  Log:
    Check authentication before creating user_glossary

  Modified files:
    app/controllers/user_glossaries_controller.rb

  Modified: app/controllers/user_glossaries_controller.rb (+1 -0)
===================================================================
--- app/controllers/user_glossaries_controller.rb    2012-09-10 15:01:46 +0900 (f3c735f)
+++ app/controllers/user_glossaries_controller.rb    2012-09-10 15:05:32 +0900 (e21c036)
@@ -1,5 +1,6 @@
 #coding: utf-8
 class UserGlossariesController < ApplicationController
+  before_filter :authenticate!, :except => :show
   before_filter :set_user
   before_filter :valid_user?, :only => [:new, :create]
   before_filter :set_user_glossary, :only => :create
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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