|
|
@@ -4,4 +4,8 @@ class LicensesController < ApplicationController |
|
|
q = License.ransack(name_cont: params[:name]) |
|
|
q = License.ransack(name_cont: params[:name]) |
|
|
@licenses = q.result(distinct: true) |
|
|
@licenses = q.result(distinct: true) |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def show |
|
|
|
|
|
@license = License.find(params[:id]) |
|
|
|
|
|
end |
|
|
end |
|
|
end |