Rails flash message password -
i need idea of making flash message password
i have application has posts , need when try edit post or delete message asked password...please note don't want or have users, want have 1 password flash message, please tell me how make it
put following code on posts controller
http_basic_authenticate_with name: "root", password: "passpass", except: [:index, :show]
Comments
Post a Comment