Class: CommitFilter::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- CommitFilter::ApplicationController
show all
- Defined in:
- app/controllers/commit_filter/application_controller.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.framework_views_path ⇒ Object
5
6
7
|
# File 'app/controllers/commit_filter/application_controller.rb', line 5
def self.framework_views_path
"commit_filter/frameworks/#{CommitFilter.configuration.frontend_framework}"
end
|
Instance Method Details
#commit_filter_javascripts ⇒ Object
17
18
19
|
# File 'app/controllers/commit_filter/application_controller.rb', line 17
def commit_filter_javascripts
@commit_filter_javascripts || ['application']
end
|
#commit_filter_stylesheets ⇒ Object
13
14
15
|
# File 'app/controllers/commit_filter/application_controller.rb', line 13
def commit_filter_stylesheets
@commit_filter_stylesheets || ['application', 'commit_filter/application']
end
|
#framework_views_path ⇒ Object
9
10
11
|
# File 'app/controllers/commit_filter/application_controller.rb', line 9
def framework_views_path
self.class.framework_views_path
end
|