fix basic members not being able to make api keys
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
class ApiKeysController < ApplicationController
|
class ApiKeysController < ApplicationController
|
||||||
before_filter :gold_only
|
before_filter :member_only
|
||||||
|
|
||||||
def new
|
def new
|
||||||
@api_key = ApiKey.new(:user_id => CurrentUser.user.id)
|
@api_key = ApiKey.new(:user_id => CurrentUser.user.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user