need to fix license

This commit is contained in:
Yan
2017-12-19 11:49:03 +06:30
parent 66200ef11a
commit 368405451f
5 changed files with 40 additions and 11 deletions

View File

@@ -44,9 +44,8 @@ class ApplicationController < ActionController::Base
end
end
def current_license(url)
def current_license(url)
@license = License.new(url)
if (@license.detail_with_local_file() == true)
puts "RUN SAY BYAR"
else

View File

@@ -1,4 +1,5 @@
class BaseController < ActionController::Base
layout "installation"
protect_from_forgery with: :exception
end