Skip to content

Commit

Permalink
removed the unloadable from all controllers and models because it was…
Browse files Browse the repository at this point in the history
… causing problems on development
  • Loading branch information
Robert Kranz committed Nov 10, 2015
1 parent b5746eb commit 3d80bf7
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion app/controllers/time_bookings_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TimeBookingsController < ApplicationController
unloadable

before_filter :authorize_global

Expand Down
1 change: 0 additions & 1 deletion app/controllers/time_logs_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TimeLogsController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_logs
before_filter :authorize_global
Expand Down
1 change: 0 additions & 1 deletion app/controllers/time_trackers_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TimeTrackersController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_overview
before_filter :js_auth, :authorize_global
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_bookings_list_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtBookingsListController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_bookings_list
before_filter :authorize_global, :check_settings_for_ajax
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_info_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtInfoController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_active_trackers
before_filter :authorize_global, :check_settings_for_ajax
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_logs_list_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtLogsListController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_logs_list
before_filter :authorize_global, :check_settings_for_ajax
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_menu_switcher_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtMenuSwitcherController < ApplicationController
unloadable

# this controller should dynamically redirect the user to an TimeTracker-page is is allowed to see,
# if he clicks on the TimeTracker-Menu at the Top-Menu from redmine
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_overview_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtOverviewController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_overview
before_filter :authorize_global, :check_settings_for_ajax
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tt_reporting_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class TtReportingController < ApplicationController
unloadable

menu_item :time_tracker_menu_tab_reporting
before_filter :authorize_global, :check_settings_for_ajax
Expand Down
1 change: 0 additions & 1 deletion app/models/time_booking.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'redmine/i18n'
class TimeBooking < ActiveRecord::Base
include Redmine::I18n
unloadable

attr_accessible :started_on, :stopped_at, :time_entry_id, :time_log_id, :project, :project_id, :comments, :issue, :activity_id
belongs_to :project
Expand Down
1 change: 0 additions & 1 deletion app/models/time_log.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'redmine/i18n'
class TimeLog < ActiveRecord::Base
include Redmine::I18n
unloadable

attr_accessible :user_id, :started_on, :stopped_at, :project_id, :comments, :issue_id, :spent_time, :bookable
attr_accessor :issue_id, :spent_time
Expand Down
1 change: 0 additions & 1 deletion app/models/time_tracker.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'redmine/i18n'
class TimeTracker < ActiveRecord::Base
include Redmine::I18n
unloadable

attr_accessible :comments, :issue_id, :issue_text, :project_id, :start_time, :date, :round, :activity_id
attr_accessor :start_time, :date
Expand Down

0 comments on commit 3d80bf7

Please sign in to comment.