SHIMADA Koji
null+****@clear*****
Tue Sep 25 21:00:04 JST 2012
SHIMADA Koji 2012-09-10 15:16:18 +0900 (Mon, 10 Sep 2012) New Revision: 4ac13f1a2cbfec812d0c850582773a179f905a01 https://github.com/logaling/logaling-server/commit/4ac13f1a2cbfec812d0c850582773a179f905a01 Merged c5d082c: Merge pull request #13 from logaling/enable-creating-user-glossary Log: Collect lines Modified files: app/controllers/user_glossaries_controller.rb Modified: app/controllers/user_glossaries_controller.rb (+1 -2) =================================================================== --- app/controllers/user_glossaries_controller.rb 2012-09-10 15:13:14 +0900 (6b49fa7) +++ app/controllers/user_glossaries_controller.rb 2012-09-10 15:16:18 +0900 (1e784c5) @@ -39,8 +39,7 @@ class UserGlossariesController < ApplicationController private def valid_user? if current_user.id != params[:user_id].to_i - flash[:notice] = "不正なアクセスです" - redirect_to dashboard_path + redirect_to dashboard_path, notice: "不正なアクセスです" end end end -------------- next part -------------- An HTML attachment was scrubbed... 下载