Skip to content
Snippets Groups Projects
Commit aaae5e6f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Rubocop: Style/AccessorMethodName enabled

parent e8905826
No related branches found
No related tags found
No related merge requests found
Style/AccessModifierIndentation:
Description: Check indentation of private/protected visibility modifiers.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected'
Enabled: false
Enabled: true
 
Style/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Loading
Loading
Loading
Loading
@@ -14,14 +14,14 @@ module Projects
uploader.store!(image)
link = {
'alt' => File.basename(alt, '.*'),
'url' => File.join(@root_url, uploader.url)
'url' => File.join(@root_url, uploader.url)
}
else
link = nil
end
end
 
protected
protected
 
def upload_path
base_dir = FileUploader.generate_dir
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment