fix basic members not being able to make api keys

This commit is contained in:
Toks
2014-08-15 18:13:39 -04:00
parent 914ee9f6a3
commit 2e8e4e7831

View File

@@ -1,5 +1,5 @@
class ApiKeysController < ApplicationController
before_filter :gold_only
before_filter :member_only
def new
@api_key = ApiKey.new(:user_id => CurrentUser.user.id)