Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1433434
filesets_controller.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 19, 7:20 AM
Size
404 B
Mime Type
text/x-ruby
Expires
Wed, Jan 21, 7:20 AM (3 h, 53 m)
Engine
blob
Format
Raw Data
Handle
326331
Attached To
rARCHIVING archiving
filesets_controller.rb
View Options
class
FilesetsController
<
ApplicationController
def
new
@fileset
=
Fileset
.
new
end
def
show
end
def
create
@fileset
=
Fileset
.
new
(
fetch_params
)
if
@fileset
.
save
redirect_to
root_path
else
render
:new
end
end
def
destroy
end
private
def
fetch_params
params
.
require
(
:fileset
)
.
permit
(
:name
,
exclude_directions
:
[]
,
include_files
:
[]
)
end
end
Event Timeline
Log In to Comment