11 lines
187 B
Ruby
11 lines
187 B
Ruby
# -*- encoding : utf-8 -*-
|
|
|
|
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
helper_method :has_permission?
|
|
def has_permission?(text)
|
|
true
|
|
end
|
|
end
|