mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
More code style fixes
This commit is contained in:
parent
465419f46a
commit
d4c9041ccd
61 changed files with 406 additions and 422 deletions
|
|
@ -1,9 +1,9 @@
|
|||
module ContextsHelper
|
||||
def show_context_name(context)
|
||||
if source_view_is :context
|
||||
content_tag(:span, :id => "context_name"){context.name}
|
||||
content_tag(:span, :id => "context_name"){ context.name }
|
||||
else
|
||||
link_to_context( context )
|
||||
link_to_context(context)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -11,7 +11,7 @@ module ContextsHelper
|
|||
link_to_delete(:context, context, descriptor)
|
||||
end
|
||||
|
||||
def link_to_edit_context (context, descriptor = sanitize(context.name))
|
||||
def link_to_edit_context(context, descriptor = sanitize(context.name))
|
||||
link_to_edit(:context, context, descriptor)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue