parent
864ed349e4
commit
be9ff9b4bb
@ -1,6 +0,0 @@
|
||||
class EnterprisesController < ApplicationController
|
||||
layout 'project_base'
|
||||
def index
|
||||
@enterprises = Project.find_by_sql("select enterprise_name from projects")
|
||||
end
|
||||
end
|
@ -0,0 +1,6 @@
|
||||
class OriginizationsController < ApplicationController
|
||||
layout 'project_base'
|
||||
def index
|
||||
@enterprises = Project.find_by_sql("select distinct(enterprise_name) from projects")
|
||||
end
|
||||
end
|
Loading…
Reference in new issue