module MetaNotificationAuthority
Public Class Methods
included(base)
click to toggle source
# File lib/meta_notification_authority.rb, line 2 def self.included(base) base.before_filter :authorize end
Public Instance Methods
render_error()
click to toggle source
# File lib/meta_notification_authority.rb, line 36 def render_error render :json => {error: "You are not authorize."}, status: 422 end