Posted on 2008å¹´10æ6æ¥ Posted by ã¡ã ã 1件ã®ã³ã¡ã³ã Posted in Development Tags: Rails ããã©ã«ãã§ç¨æããã¦ãã Basic èªè¨¼ã®ä»çµã¿ã®ä½¿ãæ¹ãã¦ã¼ã¶å chihaya, ãã¹ã¯ã¼ã password72 ã¨ããã¨ã以ä¸ã®ããã«ãã¦è¡ããã Rails5.1以é class ApplicationController < ActionController::Base http_basic_authenticate_with name name: 'chihaya', password: 'password72' unless Rails.env.production? end ç¹å®ã®å¦çã§ã¹ããããããå ´åã except ã使ãããbefore_action ã§å¦çãã # except ã使ãå ´å class Na
{{#tags}}- {{label}}
{{/tags}}