Skip to content

Commit

Permalink
gatekeeper released
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthikeyan A K committed Nov 30, 2014
1 parent 2057751 commit 0b109c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/initializers/rails_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@
# history_index
# history_show
end

config.authorize_with do
authenticate_or_request_with_http_basic('Site Message') do |username, password|
username == 'mindaslab' && password == 'kaputupak'
end
end

end

0 comments on commit 0b109c7

Please sign in to comment.