Permalink
Browse files

tidying models from app/model to subdirs

  • Loading branch information...
1 parent 59189fd commit 727a5e2b9a440361a7520d7a99285e72eb5b1f93 @benilovj benilovj committed Jan 28, 2013
@@ -1,4 +1,4 @@
-require 'tableless_model'
+require 'shared/tableless_model'
class Campaign < TablelessModel
attr_accessor :title, :erg_reference_number, :start_date, :description, :affiliated_group_or_company, :info_url
@@ -1,5 +1,5 @@
-require 'tableless_model'
-require 'with_requester'
+require 'shared/tableless_model'
+require 'shared/with_requester'
class CampaignRequest < TablelessModel
include WithRequester
@@ -1,7 +1,7 @@
-require 'tableless_model'
-require 'with_requester'
-require 'with_time_constraint'
-require 'with_request_context'
+require 'shared/tableless_model'
+require 'shared/with_requester'
+require 'shared/with_time_constraint'
+require 'shared/with_request_context'
class ContentChangeRequest < TablelessModel
include WithRequester
@@ -1,6 +1,6 @@
-require 'tableless_model'
-require 'with_requester'
-require 'with_tool_role_choice'
+require 'shared/tableless_model'
+require 'shared/with_requester'
+require 'shared/with_tool_role_choice'
class CreateNewUserRequest < TablelessModel
include WithRequester
@@ -1,4 +1,4 @@
-require 'tableless_model'
+require 'shared/tableless_model'
class RequestedUser < TablelessModel
attr_accessor :name, :email, :job, :phone
@@ -1,5 +1,5 @@
-require 'tableless_model'
-require 'with_requester'
+require 'shared/tableless_model'
+require 'shared/with_requester'
class GeneralRequest < TablelessModel
include WithRequester
@@ -1,7 +1,7 @@
-require 'tableless_model'
-require 'with_requester'
-require 'with_time_constraint'
-require 'with_request_context'
+require 'shared/tableless_model'
+require 'shared/with_requester'
+require 'shared/with_time_constraint'
+require 'shared/with_request_context'
class NewFeatureRequest < TablelessModel
include WithRequester
@@ -1,7 +1,7 @@
-require 'tableless_model'
-require 'with_requester'
-require 'with_tool_role_choice'
-require 'with_time_constraint'
+require 'shared/tableless_model'
+require 'shared/with_requester'
+require 'shared/with_tool_role_choice'
+require 'shared/with_time_constraint'
class RemoveUserRequest < TablelessModel
include WithRequester
@@ -1,4 +1,4 @@
-require 'tableless_model'
+require 'shared/tableless_model'
class Requester < TablelessModel
attr_accessor :email
@@ -1,4 +1,4 @@
-require 'tableless_model'
+require 'shared/tableless_model'
class TimeConstraint < TablelessModel
attr_accessor :not_before_date, :needed_by_date, :time_constraint_reason
@@ -1,4 +1,4 @@
-require 'requester'
+require 'shared/requester'
module WithRequester
def self.included(base)
@@ -1,4 +1,4 @@
-require 'time_constraint'
+require 'shared/time_constraint'
module WithTimeConstraint
def self.included(base)
@@ -1,5 +1,5 @@
require 'test_helper'
-require 'tableless_model'
+require 'shared/tableless_model'
require 'zendesk_ticket'
class TestRequest < TablelessModel
@@ -1,5 +1,5 @@
-require 'tableless_model'
-require 'with_request_context'
+require 'shared/tableless_model'
+require 'shared/with_request_context'
require 'test_helper'
class TestModelWithRequestContext < TablelessModel
@@ -1,5 +1,5 @@
-require 'tableless_model'
-require 'with_tool_role_choice'
+require 'shared/tableless_model'
+require 'shared/with_tool_role_choice'
require 'test_helper'
class TestModelWithToolRoleChoice < TablelessModel

0 comments on commit 727a5e2

Please sign in to comment.